diff options
| author | juloo | 2015-08-03 20:01:05 +0200 |
|---|---|---|
| committer | juloo | 2015-08-03 20:01:05 +0200 |
| commit | 1be1ec7a4b848607a1652d95bdf5ee96c0a9ecfb (patch) | |
| tree | dea2ff0eba053e16a4aac122a0f8d1f3d24ef1b5 /srcs/juloo.keyboard2/KeyValue.java | |
| parent | b32f2ce3f370244c98178f140d38e5b6f0ac2220 (diff) | |
| download | unexpected-keyboard-1be1ec7a4b848607a1652d95bdf5ee96c0a9ecfb.tar.gz unexpected-keyboard-1be1ec7a4b848607a1652d95bdf5ee96c0a9ecfb.zip | |
Add qwerty layout + popup to change layout
Diffstat (limited to 'srcs/juloo.keyboard2/KeyValue.java')
| -rw-r--r-- | srcs/juloo.keyboard2/KeyValue.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index 73df0a1..aa687ff 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -6,6 +6,7 @@ import java.util.HashMap; class KeyValue { public static final int EVENT_NONE = -1; + public static final int EVENT_CONFIG = -2; public static final char CHAR_NONE = '\0'; public static final int FLAG_KEEP_ON = 1; @@ -121,6 +122,7 @@ class KeyValue new KeyValue("8", "8", '8', KeyEvent.KEYCODE_8, 0); new KeyValue("9", "9", '9', KeyEvent.KEYCODE_9, 0); + new KeyValue("config", "Conf", CHAR_NONE, EVENT_CONFIG, 0); new KeyValue("enter", "↵", CHAR_NONE, KeyEvent.KEYCODE_ENTER, 0); new KeyValue("up", "↑", CHAR_NONE, KeyEvent.KEYCODE_DPAD_UP, 0); new KeyValue("right", "→", CHAR_NONE, KeyEvent.KEYCODE_DPAD_RIGHT, 0); |
