Commit c0b5b109a8cb6cf51f23578d5feaa78f88ba5335
1 parent
f3b52983
Add missing keys, sendkey support for all keys
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4774 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
18 additions
and
2 deletions
hw/slavio_serial.c
... | ... | @@ -770,7 +770,7 @@ static const uint8_t e0_keycodes[128] = { |
770 | 770 | 0, 0, 0, 0, 0, 0, 0, 68, 69, 70, 0, 91, 0, 93, 0, 112, |
771 | 771 | 113, 114, 94, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
772 | 772 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
773 | - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | |
773 | + 1, 3, 25, 26, 49, 52, 72, 73, 97, 99, 111, 118, 120, 122, 67, 0, | |
774 | 774 | }; |
775 | 775 | |
776 | 776 | static void sunkbd_event(void *opaque, int ch) | ... | ... |
monitor.c
... | ... | @@ -904,6 +904,23 @@ static const KeyDef key_defs[] = { |
904 | 904 | |
905 | 905 | { 0xd2, "insert" }, |
906 | 906 | { 0xd3, "delete" }, |
907 | +#if defined(TARGET_SPARC) && !defined(TARGET_SPARC64) | |
908 | + { 0xf0, "stop" }, | |
909 | + { 0xf1, "again" }, | |
910 | + { 0xf2, "props" }, | |
911 | + { 0xf3, "undo" }, | |
912 | + { 0xf4, "front" }, | |
913 | + { 0xf5, "copy" }, | |
914 | + { 0xf6, "open" }, | |
915 | + { 0xf7, "paste" }, | |
916 | + { 0xf8, "find" }, | |
917 | + { 0xf9, "cut" }, | |
918 | + { 0xfa, "lf" }, | |
919 | + { 0xfb, "help" }, | |
920 | + { 0xfc, "meta_l" }, | |
921 | + { 0xfd, "meta_r" }, | |
922 | + { 0xfe, "compose" }, | |
923 | +#endif | |
907 | 924 | { 0, NULL }, |
908 | 925 | }; |
909 | 926 | ... | ... |
target-sparc/TODO
... | ... | @@ -53,7 +53,6 @@ Sun4m: |
53 | 53 | - Unimplemented features/bugs: |
54 | 54 | - Hardware devices do not match real boards |
55 | 55 | - Floppy does not work |
56 | - - Missing keys, sendkey support for all keys | |
57 | 56 | - CS4231: merge with cs4231a, add DMA |
58 | 57 | - Add cg6, bwtwo |
59 | 58 | - Arbitrary resolution support | ... | ... |