blob: 59e97b3d2c0708e0725be68defa74de99a0cc5cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "serial/keyfocusable.hpp"
#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;
}
|