summaryrefslogtreecommitdiff
path: root/keycodes
diff options
context:
space:
mode:
authorAndres Gomez <andres.gomez@jolla.com>2015-05-28 19:48:10 +0300
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2016-01-14 01:16:33 +0000
commit09b8c8d782a00ea89a98e80de1b5dfe97981ea6b (patch)
tree1d65b36639c9b6f8add2467bfd762f366f87716a /keycodes
parentd5090d4ad9addd2247f4a44e13a4a46be9c98d8c (diff)
downloadxkeyboard-config-09b8c8d782a00ea89a98e80de1b5dfe97981ea6b.tar.gz
Added sbj keymap for Jolla phone
This extended keymap includes keycodes beyond the 255 which are not handled by X11 so it is only suitable for the use with libraries that support extended keycodes, like libxkbcommon. https://bugs.freedesktop.org/show_bug.cgi?id=92238
Diffstat (limited to 'keycodes')
-rw-r--r--keycodes/Makefile.am1
-rw-r--r--keycodes/jolla10
2 files changed, 11 insertions, 0 deletions
diff --git a/keycodes/Makefile.am b/keycodes/Makefile.am
index 78a0355..e05d77d 100644
--- a/keycodes/Makefile.am
+++ b/keycodes/Makefile.am
@@ -11,6 +11,7 @@ evdev \
fujitsu \
hp \
ibm \
+jolla \
macintosh \
olpc \
sony \
diff --git a/keycodes/jolla b/keycodes/jolla
new file mode 100644
index 0000000..1a4d6ac
--- /dev/null
+++ b/keycodes/jolla
@@ -0,0 +1,10 @@
+default
+xkb_keycodes "jolla" {
+
+ // These keycodes are beyond the X11 255 limit value so it would
+ // only be valid for the use with SW which supports extended keycodes,
+ // like xkbcommon.
+
+ <I264> = 264; // Jolla phone has the wired headset button sending this keycode
+
+};