OSDN Git Service

Add missing keys, sendkey support for all keys
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 22 Jun 2008 07:45:42 +0000 (07:45 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 22 Jun 2008 07:45:42 +0000 (07:45 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4774 c046a42c-6fe2-441c-8c8c-71466251a162

hw/slavio_serial.c
monitor.c
target-sparc/TODO

index 37424c6..1ef3c11 100644 (file)
@@ -770,7 +770,7 @@ static const uint8_t e0_keycodes[128] = {
     0, 0, 0, 0, 0, 0, 0, 68, 69, 70, 0, 91, 0, 93, 0, 112,
     113, 114, 94, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+    1, 3, 25, 26, 49, 52, 72, 73, 97, 99, 111, 118, 120, 122, 67, 0,
 };
 
 static void sunkbd_event(void *opaque, int ch)
index 8154898..914f4c6 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -904,6 +904,23 @@ static const KeyDef key_defs[] = {
 
     { 0xd2, "insert" },
     { 0xd3, "delete" },
+#if defined(TARGET_SPARC) && !defined(TARGET_SPARC64)
+    { 0xf0, "stop" },
+    { 0xf1, "again" },
+    { 0xf2, "props" },
+    { 0xf3, "undo" },
+    { 0xf4, "front" },
+    { 0xf5, "copy" },
+    { 0xf6, "open" },
+    { 0xf7, "paste" },
+    { 0xf8, "find" },
+    { 0xf9, "cut" },
+    { 0xfa, "lf" },
+    { 0xfb, "help" },
+    { 0xfc, "meta_l" },
+    { 0xfd, "meta_r" },
+    { 0xfe, "compose" },
+#endif
     { 0, NULL },
 };
 
index 30c17c4..0d39994 100644 (file)
@@ -53,7 +53,6 @@ Sun4m:
 - Unimplemented features/bugs:
  - Hardware devices do not match real boards
  - Floppy does not work
- - Missing keys, sendkey support for all keys
  - CS4231: merge with cs4231a, add DMA
  - Add cg6, bwtwo
  - Arbitrary resolution support