mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Document some input-related variables
This commit is contained in:
parent
c5aa3e7b61
commit
85f745e587
7
driver.h
7
driver.h
@ -433,12 +433,13 @@ typedef struct driver
|
||||
const location_driver_t *location;
|
||||
struct retro_callbacks retro_ctx;
|
||||
|
||||
void *osk_data;
|
||||
void *camera_data;
|
||||
void *location_data;
|
||||
void *audio_data;
|
||||
void *video_data;
|
||||
void *input_data;
|
||||
void *osk_data;
|
||||
void *camera_data;
|
||||
void *location_data;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
menu_handle_t *menu;
|
||||
const menu_ctx_driver_t *menu_ctx;
|
||||
|
@ -67,10 +67,19 @@ struct menu_bind_state
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* Keys down last frame. Used for trigger_state */
|
||||
uint64_t old_input_state;
|
||||
|
||||
/* New keys pressed down this frame */
|
||||
uint64_t trigger_state;
|
||||
|
||||
/* Whether any repeating keys are being held down, */
|
||||
/* and key repeat should be handled */
|
||||
/* TODO: should be a mask of keys we are repeating, */
|
||||
/* instead of repeating all keys being held down. */
|
||||
bool do_held;
|
||||
|
||||
/* Used for key repeat */
|
||||
unsigned delay_timer;
|
||||
unsigned delay_count;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user