summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvu <svu>2007-08-29 21:23:15 +0000
committersvu <svu>2007-08-29 21:23:15 +0000
commit41f604530ec3cf53ba34a035c27f65277f9952dd (patch)
tree7fe5598b637906c43f48af6c65a7f4235f42ce85
parent6a8da8ef3e600a537baf79530b4999f5c297565d (diff)
updated evdev keycodes, b.fd.o#12202
-rw-r--r--ChangeLog5
-rw-r--r--keycodes/evdev37
2 files changed, 32 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 1179484..737d057 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-29 Sergey Udaltsov
+
+ * keycodes/evdev: updated evdev keycodes,
+ https://bugs.freedesktop.org/show_bug.cgi?id=12202
+
2007-08-28 Sergey Udaltsov
* symbols/group, symbols/jp, symbols/la, symbols/level3, symbols/pc,
diff --git a/keycodes/evdev b/keycodes/evdev
index 1e36bf1..07be172 100644
--- a/keycodes/evdev
+++ b/keycodes/evdev
@@ -1,7 +1,7 @@
// translation from evdev scancodes to something resembling xfree86 keycodes.
default xkb_keycodes "evdev" {
- minimum = 8;
+ minimum = 1;
maximum = 255;
# Added for pc105 compatibility
@@ -268,18 +268,35 @@ default xkb_keycodes "evdev" {
<I242> = 242; // #define KEY_SAVE 234
<I243> = 243; // #define KEY_DOCUMENTS 235
<I244> = 244; // #define KEY_BATTERY 236
+ <I245> = 245; // #define KEY_BLUETOOTH 237
+ <I246> = 246; // #define KEY_WLAN 238
+ <I247> = 247; // (not defined in input.h) 239
+ <I248> = 248; // #define KEY_UNKNOWN 240
+ <I249> = 249; // #define KEY_VIDEO_NEXT 241
+ <I250> = 250; // #define KEY_VIDEO_PREV 242
+ <I251> = 251; // #define KEY_BRIGHTNESS_CYCLE 243
+ <I252> = 252; // #define KEY_BRIGHTNESS_ZERO 244
+ <I253> = 253; // #define KEY_DISPLAY_OFF 245
// Fake keycodes for virtual keys
- <MDSW> = 241;
- <LVL3> = 242;
- <ALT> = 243;
- <META> = 244;
- <SUPR> = 245;
- <HYPR> = 246;
+ <MDSW> = 1;
+ <LVL3> = 2;
+ <ALT> = 3;
+ <META> = 4;
+ <SUPR> = 5;
+ <HYPR> = 6;
- indicator 1 = "Caps Lock";
- indicator 2 = "Num Lock";
- indicator 3 = "Scroll Lock";
+ indicator 1 = "Caps Lock";
+ indicator 2 = "Num Lock";
+ indicator 3 = "Scroll Lock";
+ indicator 4 = "Compose";
+ indicator 5 = "Kana";
+ indicator 6 = "Sleep";
+ indicator 7 = "Suspend";
+ indicator 8 = "Mute";
+ indicator 9 = "Misc";
+ indicator 10 = "Mail";
+ indicator 11 = "Charging";
alias <ALGR> = <RALT>;
};