summaryrefslogtreecommitdiff
path: root/hw/dmx/input
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-08-09 16:45:45 +0300
committerDaniel Stone <daniel@fooishbar.org>2009-01-22 15:08:55 +1100
commit6727ee94086d238f9f99379280d4e4827f388cce (patch)
treecdd241f77a324e83c630fe847036b3ecae344e4e /hw/dmx/input
parent08363c5830bdea34012dcd954b45ccfdc79a3a7e (diff)
Input: Remove state from KeyClassRec
We already have state fully stored within XKB, so instead of duplicating it, just generate the values to send to clients when required. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/dmx/input')
-rw-r--r--hw/dmx/input/atKeynames.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/dmx/input/atKeynames.h b/hw/dmx/input/atKeynames.h
index 85f13ac32..e632ca27c 100644
--- a/hw/dmx/input/atKeynames.h
+++ b/hw/dmx/input/atKeynames.h
@@ -67,7 +67,6 @@
#define ScrollLockMask Mod5Mask
#define KeyPressed(k) (keyc->postdown[k >> 3] & (1 << (k & 7)))
-#define ModifierDown(k) ((keyc->state & (k)) == (k))
/*
* NOTE: The AT/MF keyboards can generate (via the 8042) two (MF: three)