Displaying 1 result from an estimated 1 matches for "key_range".
2010 Sep 02
6
[PATCH]ioemu: fix altgr-insert behavior
...needs altgr modifer, if it needs altgr modifier but altgr is not ''down'', sending altgr keycode before sending key keycode.
diff -r 17723c0b042b keymaps.c
--- a/keymaps.c Thu Sep 02 16:40:39 2010 +0800
+++ b/keymaps.c Thu Sep 02 17:26:53 2010 +0800
@@ -51,6 +51,7 @@
struct key_range *numlock_range;
struct key_range *shift_range;
struct key_range *localstate_range;
+ struct key_range *altgr_range;
} kbd_layout_t;
static void add_to_key_range(struct key_range **krp, int code) {
@@ -133,7 +134,11 @@
add_to_key_range(&k->localstate_range, keycode);...