mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +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);
|
(*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" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boolean.h>
|
|
||||||
#include "../libretro.h"
|
|
||||||
#include <stdint.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. */
|
/* Keyboard line reader. Handles textual input in a direct fashion. */
|
||||||
typedef struct input_keyboard_line input_keyboard_line_t;
|
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);
|
void input_keyboard_wait_keys_cancel(void);
|
||||||
|
|
||||||
|
bool input_keyboard_ctl(enum rarch_input_keyboard_ctl_state state, void *data);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user