blob: 29271dc144d5290a0da9a2635531b25e614aa896 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "serial/keyfocusable.h"
#include "SDL2/SDL.h"
void KeyFocusable::serial_cb(const SDL_Event *event)
{
key_cb(&event->key);
}
uint32_t KeyFocusable::stackID() const
{
// Set SDL_KEYDOWN by default
return SDL_KEYDOWN;
}
|