mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-26 04:12:34 +01:00
- [Psy-X] fullscreen toggle only with Right Alt
This commit is contained in:
parent
adf26d0f2e
commit
f069e77aa1
@ -605,7 +605,7 @@ void PsyX_Sys_DoPollEvent()
|
|||||||
{
|
{
|
||||||
int nKey = event.key.keysym.scancode;
|
int nKey = event.key.keysym.scancode;
|
||||||
|
|
||||||
if (nKey == SDL_SCANCODE_LALT || nKey == SDL_SCANCODE_RALT)
|
if (nKey == SDL_SCANCODE_RALT)
|
||||||
{
|
{
|
||||||
g_altKeyState = (event.type == SDL_KEYDOWN);
|
g_altKeyState = (event.type == SDL_KEYDOWN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user