mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 22:43:41 +00:00
Create input_keyboard_ctl
This commit is contained in:
parent
0b9595b7e1
commit
92d2765157
@ -295,3 +295,15 @@ void input_keyboard_event(bool down, unsigned code,
|
||||
(*key_event)(down, code, character, mod);
|
||||
}
|
||||
}
|
||||
|
||||
bool input_keyboard_ctl(enum rarch_input_keyboard_ctl_state state, void *data)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
case RARCH_INPUT_KEYBOARD_CTL_NONE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -21,10 +21,17 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <boolean.h>
|
||||
#include "../libretro.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#include "../libretro.h"
|
||||
|
||||
enum rarch_input_keyboard_ctl_state
|
||||
{
|
||||
RARCH_INPUT_KEYBOARD_CTL_NONE = 0
|
||||
};
|
||||
|
||||
/* Keyboard line reader. Handles textual input in a direct fashion. */
|
||||
typedef struct input_keyboard_line input_keyboard_line_t;
|
||||
|
||||
@ -129,6 +136,8 @@ void input_keyboard_wait_keys(void *userdata, input_keyboard_press_t cb);
|
||||
**/
|
||||
void input_keyboard_wait_keys_cancel(void);
|
||||
|
||||
bool input_keyboard_ctl(enum rarch_input_keyboard_ctl_state state, void *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user