MRI: Add 'System.raw_key_states' to query full keyboard state

Returns a byte array with all key states (0 = released,
1 = pressed) indexed via SDL_SCANCODE_* enums.
This commit is contained in:
Jonas Kulla 2014-10-20 10:27:01 +02:00
parent e44a1e32fa
commit 4a8b0f30c8
3 changed files with 29 additions and 17 deletions

View file

@ -34,7 +34,7 @@
#include <string.h>
bool EventThread::keyStates[] = { false };
uint8_t EventThread::keyStates[] = { false };
EventThread::JoyState EventThread::joyState =
{