aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-03-28 08:56:15 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-05-16 08:30:12 +0200
commit2ada510698acb68399f4b356386c2807cbac3b60 (patch)
tree870ce0bcd002453f5a12f9af01f7b2a4207a2206 /ui
parent65e7545ea3c65a6468fb59418a6dbe66ef71d6d1 (diff)
input: remove sparc keymap hack
With sparc keyboard going directly from QKeyValue to sparc keycodes this should not be needed any more. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/input-keymap.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/input-keymap.c b/ui/input-keymap.c
index 67a3ea72eb..6da4495103 100644
--- a/ui/input-keymap.c
+++ b/ui/input-keymap.c
@@ -126,25 +126,6 @@ static const int qcode_to_number[] = {
[Q_KEY_CODE_INSERT] = 0xd2,
[Q_KEY_CODE_DELETE] = 0xd3,
-#ifdef NEED_CPU_H
-#if defined(TARGET_SPARC) && !defined(TARGET_SPARC64)
- [Q_KEY_CODE_STOP] = 0xf0,
- [Q_KEY_CODE_AGAIN] = 0xf1,
- [Q_KEY_CODE_PROPS] = 0xf2,
- [Q_KEY_CODE_UNDO] = 0xf3,
- [Q_KEY_CODE_FRONT] = 0xf4,
- [Q_KEY_CODE_COPY] = 0xf5,
- [Q_KEY_CODE_OPEN] = 0xf6,
- [Q_KEY_CODE_PASTE] = 0xf7,
- [Q_KEY_CODE_FIND] = 0xf8,
- [Q_KEY_CODE_CUT] = 0xf9,
- [Q_KEY_CODE_LF] = 0xfa,
- [Q_KEY_CODE_HELP] = 0xfb,
- [Q_KEY_CODE_META_L] = 0xfc,
- [Q_KEY_CODE_META_R] = 0xfd,
- [Q_KEY_CODE_COMPOSE] = 0xfe,
-#endif
-#endif
[Q_KEY_CODE_MAX] = 0,
};