hw/xwin: Fix some comments in winkeybd.c
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
6f4a48f8a5
commit
e30e1ea987
|
@ -56,7 +56,7 @@ static void
|
||||||
static void
|
static void
|
||||||
winKeybdCtrl(DeviceIntPtr pDevice, KeybdCtrl * pCtrl);
|
winKeybdCtrl(DeviceIntPtr pDevice, KeybdCtrl * pCtrl);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Translate a Windows WM_[SYS]KEY(UP/DOWN) message
|
* Translate a Windows WM_[SYS]KEY(UP/DOWN) message
|
||||||
* into an ASCII scan code.
|
* into an ASCII scan code.
|
||||||
*
|
*
|
||||||
|
@ -134,7 +134,7 @@ winKeybdCtrl(DeviceIntPtr pDevice, KeybdCtrl * pCtrl)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See Porting Layer Definition - p. 18
|
* See Porting Layer Definition - p. 18
|
||||||
* winKeybdProc is known as a DeviceProc.
|
* winKeybdProc is known as a DeviceProc.
|
||||||
*/
|
*/
|
||||||
|
@ -509,8 +509,8 @@ winCheckKeyPressed(WPARAM wParam, LPARAM lParam)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Only on shift release message is sent even if both are pressed.
|
/* Only one shift release message is sent even if both are pressed.
|
||||||
* Fix this here
|
* Fix this here
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
winFixShiftKeys(int iScanCode)
|
winFixShiftKeys(int iScanCode)
|
||||||
|
|
Loading…
Reference in New Issue