abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorjuloo2015-08-02 21:36:19 +0200
committerjuloo2015-08-02 21:36:19 +0200
commit3909976b859ee8abd8ae17afa989fefa3f849202 (patch)
tree9215a8aa6b2625562e6066118f970c12db79bc55
parent85eb9daa46f169375d553c8b6f8f75b7568c17f6 (diff)
downloadunexpected-keyboard-3909976b859ee8abd8ae17afa989fefa3f849202.tar.gz
unexpected-keyboard-3909976b859ee8abd8ae17afa989fefa3f849202.zip
Insert key
-rw-r--r--res/xml/azerty.xml2
-rw-r--r--srcs/juloo.keyboard2/KeyValue.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/res/xml/azerty.xml b/res/xml/azerty.xml
index bfb11d7..a5841fa 100644
--- a/res/xml/azerty.xml
+++ b/res/xml/azerty.xml
@@ -33,7 +33,7 @@
<key key0="b" key2="/" key4=":" />
<key key0="n" key2="§" key4="!" />
<key key1="up" key2="right" key3="left" key4="down" />
- <key width="1.6" key0="backspace" key2="delete" />
+ <key width="1.6" key0="backspace" key1="insert" key2="delete" />
</row>
<row>
<key width="1.6" key0="ctrl" />
diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java
index b7331df..5d01b88 100644
--- a/srcs/juloo.keyboard2/KeyValue.java
+++ b/srcs/juloo.keyboard2/KeyValue.java
@@ -130,8 +130,9 @@ class KeyValue
new KeyValue("page_down", "⇟", CHAR_NONE, KeyEvent.KEYCODE_PAGE_UP, 0);
new KeyValue("home", "↖", CHAR_NONE, KeyEvent.KEYCODE_HOME, 0);
new KeyValue("end", "↗", CHAR_NONE, KeyEvent.KEYCODE_MOVE_END, 0);
- new KeyValue("backspace", "⌫", CHAR_NONE, KeyEvent.KEYCODE_DEL, 0);
+ new KeyValue("backspace", "⌫", CHAR_NONE, KeyEvent.KEYCODE_DEL, 0);
new KeyValue("delete", "⌦", CHAR_NONE, KeyEvent.KEYCODE_FORWARD_DEL, 0);
+ new KeyValue("insert", "Insert", CHAR_NONE, KeyEvent.KEYCODE_INSERT, 0);
new KeyValue("tab", "↹", '\t', EVENT_NONE, 0);
new KeyValue("space", " ", ' ', EVENT_NONE, 0);