Commit Graph

7 Commits

Author SHA1 Message Date
aliguori 0483755a4d Refactor keymap code to avoid duplication ("Daniel P. Berrange")
Each of the graphical frontends #include a .c file, for keymap code
resulting in duplicated definitions & duplicated compiled code. A
couple of small changes allowed this to be sanitized, so instead of
doing a #include "keymaps.c", duplicating all code, we can have a
shared keymaps.h file, and only compile code once. This allows the
next patch to move the VncState struct out into a header file without
causing clashing definitions.


 Makefile      |    9 +++++---
 b/keymaps.h   |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 curses.c      |    3 --
 curses_keys.h |    9 +++-----
 keymaps.c     |   45 ++++++++++++++++---------------------------
 sdl.c         |    3 --
 sdl_keysym.h  |    7 ++----
 vnc.c         |    5 +---
 vnc_keysym.h  |    7 ++----
 9 files changed, 97 insertions(+), 51 deletions(-)

   Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6721 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-06 20:27:10 +00:00
aurel32 74b1b0c1f5 Fix AltGr and dead keys with VNC
(Marcel Zumstein)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6586 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-09 23:19:32 +00:00
blueswir1 be7fb97f8a Make keysym tables const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5396 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-02 18:26:42 +00:00
ths 6a1ef8309e Improve jp106 keyboard support, by Akio Takebe.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4853 c046a42c-6fe2-441c-8c8c-71466251a162
2008-07-07 19:29:49 +00:00
balrog a528b80cb0 Miscellaneous VNC related fixes from Xen forwarded by Matthew Kent.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3489 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-30 22:38:53 +00:00
bellard f5e25d7007 Japanese keyboard patch (kazu)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2304 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-07 17:12:41 +00:00
bellard 24236869fb VNC server (Anthony Liguori)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1869 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-30 21:28:36 +00:00