- attempt to fix the "Print Screen" key problem
* partial fix for bug #1549873 (SF patch #1766536) * added keyword "print" to the userbutton shortcut table * FIXME #1: CTRL+PRINT and ALT+PRINT not working in Win98 guest * FIXME #2: win32 hosts do not generate the "make" code for "Print Screen"
This commit is contained in:
parent
63f1d0d07e
commit
a2584bd271
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: gui.cc,v 1.99 2006-09-17 20:37:28 vruppert Exp $
|
||||
// $Id: gui.cc,v 1.100 2007-08-18 08:05:30 vruppert Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||
@ -53,7 +53,7 @@ bx_gui_c *bx_gui = NULL;
|
||||
#define LOG_THIS BX_GUI_THIS
|
||||
|
||||
#define BX_KEY_UNKNOWN 0x7fffffff
|
||||
#define N_USER_KEYS 35
|
||||
#define N_USER_KEYS 36
|
||||
|
||||
typedef struct {
|
||||
char *key;
|
||||
@ -96,7 +96,8 @@ static user_key_t user_keys[N_USER_KEYS] =
|
||||
{ "space", BX_KEY_SPACE },
|
||||
{ "tab", BX_KEY_TAB },
|
||||
{ "up", BX_KEY_UP },
|
||||
{ "win", BX_KEY_WIN_L }
|
||||
{ "win", BX_KEY_WIN_L },
|
||||
{ "print", BX_KEY_PRINT }
|
||||
};
|
||||
|
||||
bx_gui_c::bx_gui_c(void)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: win32.cc,v 1.112 2006-12-05 19:45:56 vruppert Exp $
|
||||
// $Id: win32.cc,v 1.113 2007-08-18 08:05:30 vruppert Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||
@ -420,7 +420,7 @@ Bit32u win32_to_bx_key[2][0x100] =
|
||||
0,
|
||||
BX_KEY_KP_DIVIDE,
|
||||
0,
|
||||
0, /* ?? BX_KEY_PRINT ( ibm 124 ) ?? */
|
||||
BX_KEY_PRINT,
|
||||
BX_KEY_ALT_R,
|
||||
0,
|
||||
0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: scancodes.cc,v 1.5 2002-10-24 21:07:51 bdenney Exp $
|
||||
// $Id: scancodes.cc,v 1.6 2007-08-18 08:05:33 vruppert Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||
@ -492,8 +492,8 @@ scancode scancodes[BX_KEY_NBKEYS][3] =
|
||||
},
|
||||
|
||||
{ // BX_KEY_PRINT ( ibm 124 )
|
||||
{ "\xE0\x37" , "\xE0\xB7" },
|
||||
{ "\xE0\x7C" , "\xE0\xF0\x7C" },
|
||||
{ "\xE0\x2A\xE0\x37" , "\xE0\xB7\xE0\xAA" },
|
||||
{ "\xE0\x12\xE0\x7C" , "\xE0\xF0\x7C\xE0\xF0\x12" },
|
||||
{ "\x57" , "\xF0\x57" },
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user