#ifndef INPUT_H #define INPUT_H #include "../Daodan.h" typedef uint32_t CustomActionCallbackArgument; typedef void (*CustomActionCallback_t) (CustomActionCallbackArgument argument); typedef enum { EVENT_KEYPRESS, EVENT_KEYDOWN, } ActionEventType_t; void Input_PatchCode (); void Input_RegisterCustomAction (const char* actionname, ActionEventType_t eventType, uint32_t keydownTimeoutTicks, CustomActionCallback_t callback, CustomActionCallbackArgument callbackArgument); #endif