[client] app: replace old SDL_Scancode with int

This commit is contained in:
Geoffrey McRae
2021-01-26 02:41:10 +11:00
parent 3d03699cc8
commit e18f7d3365
4 changed files with 8 additions and 8 deletions

View File

@@ -35,7 +35,6 @@ typedef enum LG_MsgAlert
}
LG_MsgAlert;
SDL_Window * app_getWindow(void);
bool app_getProp(LG_DSProperty prop, void * ret);
@@ -81,7 +80,7 @@ void app_alert(LG_MsgAlert type, const char * fmt, ...);
* @retval A handle for the binding or NULL on failure.
* The caller is required to release the handle via `app_releaseKeybind` when it is no longer required
*/
KeybindHandle app_registerKeybind(uint32_t sc, SuperEventFn callback, void * opaque);
KeybindHandle app_registerKeybind(int sc, SuperEventFn callback, void * opaque);
/**
* Release an existing key binding