mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-21 14:53:11 +01:00
Add new keyevent "menu" (#726)
* Update ExtraKeysPreference.java add "menu" to array of extra keys * Update KeyValue.java add menu keyevent
This commit is contained in:
parent
50a3c0f5bc
commit
b3d1a3fc1a
@ -501,6 +501,7 @@ public final class KeyValue implements Comparable<KeyValue>
|
||||
case "f11": return keyeventKey("F11", KeyEvent.KEYCODE_F11, FLAG_SMALLER_FONT);
|
||||
case "f12": return keyeventKey("F12", KeyEvent.KEYCODE_F12, FLAG_SMALLER_FONT);
|
||||
case "tab": return keyeventKey(0xE00F, KeyEvent.KEYCODE_TAB, FLAG_SMALLER_FONT);
|
||||
case "menu": return keyeventKey("Menu", KeyEvent.KEYCODE_MENU, FLAG_SMALLER_FONT);
|
||||
|
||||
/* Spaces */
|
||||
case "\\t": return charKey("\\t", '\t', 0); // Send the tab character
|
||||
|
@ -71,6 +71,7 @@ public class ExtraKeysPreference extends PreferenceCategory
|
||||
"subscript",
|
||||
"f11_placeholder",
|
||||
"f12_placeholder",
|
||||
"menu",
|
||||
};
|
||||
|
||||
/** Whether an extra key is enabled by default. */
|
||||
|
Loading…
Reference in New Issue
Block a user