Modules
This commit is contained in:
@@ -32,15 +32,15 @@ typedef struct {
|
||||
#endif
|
||||
} inputactiondata_t;
|
||||
|
||||
// static const char_t* INPUT_ACTION_NAMES[INPUT_ACTION_COUNT] = {
|
||||
// [INPUT_ACTION_UP] = "UP",
|
||||
// [INPUT_ACTION_DOWN] = "DOWN",
|
||||
// [INPUT_ACTION_LEFT] = "LEFT",
|
||||
// [INPUT_ACTION_RIGHT] = "RIGHT",
|
||||
// [INPUT_ACTION_ACCEPT] = "ACCEPT",
|
||||
// [INPUT_ACTION_CANCEL] = "CANCEL",
|
||||
// [INPUT_ACTION_RAGEQUIT] = "RAGEQUIT",
|
||||
// };
|
||||
static const char_t* INPUT_ACTION_NAMES[INPUT_ACTION_COUNT] = {
|
||||
[INPUT_ACTION_UP] = "UP",
|
||||
[INPUT_ACTION_DOWN] = "DOWN",
|
||||
[INPUT_ACTION_LEFT] = "LEFT",
|
||||
[INPUT_ACTION_RIGHT] = "RIGHT",
|
||||
[INPUT_ACTION_ACCEPT] = "ACCEPT",
|
||||
[INPUT_ACTION_CANCEL] = "CANCEL",
|
||||
[INPUT_ACTION_RAGEQUIT] = "RAGEQUIT",
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets an input action by its name.
|
||||
@@ -48,4 +48,4 @@ typedef struct {
|
||||
* @param name The name of the input action.
|
||||
* @return The input action, or INPUT_ACTION_COUNT if not found.
|
||||
*/
|
||||
// inputaction_t inputActionGetByName(const char_t *name);
|
||||
inputaction_t inputActionGetByName(const char_t *name);
|
||||
Reference in New Issue
Block a user