comparison src/video/wincommon/SDL_sysevents.c @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children e30a8ce27c22
comparison
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
132 state |= KMOD_LALT; 132 state |= KMOD_LALT;
133 } 133 }
134 if ( keyboard[VK_RMENU] & 0x80) { 134 if ( keyboard[VK_RMENU] & 0x80) {
135 state |= KMOD_RALT; 135 state |= KMOD_RALT;
136 } 136 }
137 if ( keyboard[VK_NUMLOCK] & 0x80) { 137 if ( keyboard[VK_NUMLOCK] & 0x01) {
138 state |= KMOD_NUM; 138 state |= KMOD_NUM;
139 } 139 }
140 if ( keyboard[VK_CAPITAL] & 0x80) { 140 if ( keyboard[VK_CAPITAL] & 0x01) {
141 state |= KMOD_CAPS; 141 state |= KMOD_CAPS;
142 } 142 }
143 } 143 }
144 SDL_SetModState(state); 144 SDL_SetModState(state);
145 #endif /* !NO_GETKEYBOARDSTATE */ 145 #endif /* !NO_GETKEYBOARDSTATE */