yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::emu::input::InputConfig Struct Reference

Input configuration (platform-agnostic key codes) More...

#include <input_backend.h>

Public Attributes

int key_a = 0
 
int key_b = 0
 
int key_x = 0
 
int key_y = 0
 
int key_l = 0
 
int key_r = 0
 
int key_start = 0
 
int key_select = 0
 
int key_up = 0
 
int key_down = 0
 
int key_left = 0
 
int key_right = 0
 
bool continuous_polling = true
 
bool enable_gamepad = true
 
int gamepad_index = 0
 

Detailed Description

Input configuration (platform-agnostic key codes)

Definition at line 54 of file input_backend.h.

Member Data Documentation

◆ key_a

◆ key_b

◆ key_x

◆ key_y

◆ key_l

◆ key_r

◆ key_start

◆ key_select

◆ key_up

◆ key_down

◆ key_left

◆ key_right

◆ continuous_polling

bool yaze::emu::input::InputConfig::continuous_polling = true

◆ enable_gamepad

bool yaze::emu::input::InputConfig::enable_gamepad = true

Definition at line 74 of file input_backend.h.

Referenced by yaze::emu::input::InputManager::Initialize().

◆ gamepad_index

int yaze::emu::input::InputConfig::gamepad_index = 0

Definition at line 75 of file input_backend.h.


The documentation for this struct was generated from the following file: