diff options
author | kdx <kikoodx@paranoici.org> | 2023-06-20 22:16:54 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-06-20 22:16:54 +0200 |
commit | 674398193bcd0e636728d29f18f84d5362a184bc (patch) | |
tree | 1eda10e26896f34245341755772bc739eb3179f0 /src | |
parent | a112ac482df039f104f160e2de75f244fb66a9c4 (diff) | |
download | orga-674398193bcd0e636728d29f18f84d5362a184bc.tar.gz |
space and shift
Diffstat (limited to 'src')
-rw-r--r-- | src/orgaemu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/orgaemu.c b/src/orgaemu.c index e57601d..6840fe3 100644 --- a/src/orgaemu.c +++ b/src/orgaemu.c @@ -35,6 +35,9 @@ static const uint16_t buttons[SDL_NUM_SCANCODES] = { [SDL_SCANCODE_DOWN] = 1 << 5, [SDL_SCANCODE_LEFT] = 1 << 6, [SDL_SCANCODE_RIGHT] = 1 << 7, + /* space shift */ + [SDL_SCANCODE_SPACE] = 1 << 0, + [SDL_SCANCODE_LSHIFT] = 1 << 1, }; static SDL_Window *window = NULL; |