aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-13 14:46:15 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-13 14:59:44 +0100
commitd0dc9f38184956af49379d7e2585756523cfa4c1 (patch)
tree0c3014986187038b16141c2ef58dfb4799ec74ff /src/lib/include
parent243e6d72928d1fc4cf20366eab9007980b945458 (diff)
downloadkogata-d0dc9f38184956af49379d7e2585756523cfa4c1.tar.gz
kogata-d0dc9f38184956af49379d7e2585756523cfa4c1.zip
Fix keyboard handling.
Diffstat (limited to 'src/lib/include')
-rw-r--r--src/lib/include/keyboard.h1
-rw-r--r--src/lib/include/proto/keymap_file.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/include/keyboard.h b/src/lib/include/keyboard.h
index 0d5a97a..63c6c2c 100644
--- a/src/lib/include/keyboard.h
+++ b/src/lib/include/keyboard.h
@@ -22,6 +22,7 @@ typedef struct {
typedef struct {
keymap_t km;
+ int key_char[256];
uint32_t status; // mask of alt/ctrl/super
} keyboard_t;
diff --git a/src/lib/include/proto/keymap_file.h b/src/lib/include/proto/keymap_file.h
index 53ffeb7..281b147 100644
--- a/src/lib/include/proto/keymap_file.h
+++ b/src/lib/include/proto/keymap_file.h
@@ -8,6 +8,7 @@ typedef struct {
int normal[128];
int shift[128];
int caps[128];
+ int shiftcaps[128];
int mod[128];
int shiftmod[128];
bool ralt_is_mod; // true: right alt = alt-gr