mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-21 01:10:24 +00:00
switch internal codes for functional keys to the same as florisboard
for better compatibility of layouts also convert labels
This commit is contained in:
parent
7b0ee924ae
commit
a34b3f4cdd
40 changed files with 448 additions and 410 deletions
|
@ -45,6 +45,7 @@ import helium314.keyboard.accessibility.AccessibilityUtils;
|
|||
import helium314.keyboard.keyboard.Keyboard;
|
||||
import helium314.keyboard.keyboard.MainKeyboardView;
|
||||
import helium314.keyboard.keyboard.PopupKeysPanel;
|
||||
import helium314.keyboard.keyboard.internal.keyboard_parser.floris.KeyCode;
|
||||
import helium314.keyboard.latin.AudioAndHapticFeedbackManager;
|
||||
import helium314.keyboard.latin.Dictionary;
|
||||
import helium314.keyboard.latin.R;
|
||||
|
@ -645,7 +646,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
|
||||
@Override
|
||||
public void onClick(final View view) {
|
||||
AudioAndHapticFeedbackManager.getInstance().performHapticAndAudioFeedback(Constants.CODE_UNSPECIFIED, this);
|
||||
AudioAndHapticFeedbackManager.getInstance().performHapticAndAudioFeedback(KeyCode.NOT_SPECIFIED, this);
|
||||
final Object tag = view.getTag();
|
||||
if (tag instanceof ToolbarKey) {
|
||||
final Integer code = getCodeForToolbarKey((ToolbarKey) tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue