mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
ui: convert to keycodedb, fix sign extension
sdl: cleanups, deprecate sdl 1.2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJaaepTAAoJEEy22O7T6HE4rWcP/06xpOF6Kb1cTz73KFrBMS9Q dRup+t5aTPFG3z3vS8mXWebtbtBhc2J0JNGhFShWTIYREkN0v3zBYpXOZFJHmljZ CgYB1k/zlzJvcIuAforKcnP8hvifAsqUXagNLNqEMx27HBdVPlwgoPt7yTZX771v 7NbZjot0dNJOWrYEQ4pR+hu1AdMPMXJsPvZ+hnDlCd9pxttduiaQvTvdgyVkmFje c3e+mopNGxQZmwQ/4T0slXZpn9OXzCfAAwbhVR4ONBfq4svyQLzpEU66TOshME/2 6WIICWJhLNlxlBj5jZqfowsvQRcKKBWjrQJ/DK3OklVtgqiuY1CRsWkKABoQ/9M5 j/uzhhuCRO/Xzp1eg0+cBvX72pO3BA+dTjHH1nlSuSBUAODODhoOzMv0IWnjFGL/ WcA/JvTd+Ff7Dpb0IiM5WMQLdQd+ZBCpvaBFGKCH1B2EB0SPo6AJLi+EqJ72P5N3 pRLugbadQzzJgvseOlXkO9lk064uNR6UTsMVwtuh138SLuywHc9vWezbNcFuJ2JV V1W0P0Ib29qI/DLciYR+Qz+UXG++ZFAeAY8p1Mpl9OApHqvxfdp3UJq3NPwGG1eK KlEEHpc5PVW+MEkUSHNZuujWkeo7E/XhG2ta+daLTVFsDOxlQ709Sggg9nADUNfR 9VW5MZn/kTABLOZMvEO4 =LuyV -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180125-pull-request' into staging ui: convert to keycodedb, fix sign extension sdl: cleanups, deprecate sdl 1.2 # gpg: Signature made Thu 25 Jan 2018 14:31:47 GMT # gpg: using RSA key 0x4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * remotes/kraxel/tags/ui-20180125-pull-request: sdl: reorganize -no-frame support sdl: use ctrl-alt-g as grab hotkey ui: deprecate use of SDL 1.2 in favour of 2.0 series ui: ignore hardware keycode 255 on win32 ui: add fix for GTK Pause key handling on Win32 ui: convert GTK and SDL1 frontends to keycodemapdb ui: convert the SDL2 frontend to keycodemapdb ui: avoid sign extension using client width/height Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
d2bc6e1f62
19 changed files with 391 additions and 643 deletions
|
@ -112,6 +112,7 @@ extern const char *keyboard_layout;
|
|||
extern int win2k_install_hack;
|
||||
extern int alt_grab;
|
||||
extern int ctrl_grab;
|
||||
extern int no_frame;
|
||||
extern int smp_cpus;
|
||||
extern unsigned int max_cpus;
|
||||
extern int cursor_hide;
|
||||
|
|
|
@ -436,7 +436,7 @@ void surface_gl_setup_viewport(QemuGLShader *gls,
|
|||
/* sdl.c */
|
||||
#ifdef CONFIG_SDL
|
||||
void sdl_display_early_init(int opengl);
|
||||
void sdl_display_init(DisplayState *ds, int full_screen, int no_frame);
|
||||
void sdl_display_init(DisplayState *ds, int full_screen);
|
||||
#else
|
||||
static inline void sdl_display_early_init(int opengl)
|
||||
{
|
||||
|
@ -444,8 +444,7 @@ static inline void sdl_display_early_init(int opengl)
|
|||
error_report("SDL support is disabled");
|
||||
abort();
|
||||
}
|
||||
static inline void sdl_display_init(DisplayState *ds, int full_screen,
|
||||
int no_frame)
|
||||
static inline void sdl_display_init(DisplayState *ds, int full_screen)
|
||||
{
|
||||
/* This must never be called if CONFIG_SDL is disabled */
|
||||
error_report("SDL support is disabled");
|
||||
|
|
|
@ -68,6 +68,9 @@ void qemu_input_check_mode_change(void);
|
|||
void qemu_add_mouse_mode_change_notifier(Notifier *notify);
|
||||
void qemu_remove_mouse_mode_change_notifier(Notifier *notify);
|
||||
|
||||
extern const guint qemu_input_map_atset1_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_atset1_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_linux_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_linux_to_qcode[];
|
||||
|
||||
|
@ -80,4 +83,25 @@ extern const guint16 qemu_input_map_qnum_to_qcode[];
|
|||
extern const guint qemu_input_map_qcode_to_linux_len;
|
||||
extern const guint16 qemu_input_map_qcode_to_linux[];
|
||||
|
||||
extern const guint qemu_input_map_usb_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_usb_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_win32_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_win32_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_x11_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_x11_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_xorgevdev_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_xorgevdev_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_xorgkbd_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_xorgkbd_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_xorgxquartz_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_xorgxquartz_to_qcode[];
|
||||
|
||||
extern const guint qemu_input_map_xorgxwin_to_qcode_len;
|
||||
extern const guint16 qemu_input_map_xorgxwin_to_qcode[];
|
||||
|
||||
#endif /* INPUT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue