mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-07-07 14:13:48 -04:00
Split default input mappings by device, disabled input while menu is open, made config menu open with escape/select, made config menu close with escape
This commit is contained in:
@@ -43,10 +43,13 @@ namespace recomp {
|
||||
std::vector<InputField> analog_down;
|
||||
};
|
||||
|
||||
extern const DefaultN64Mappings default_n64_mappings;
|
||||
extern const DefaultN64Mappings default_n64_keyboard_mappings;
|
||||
extern const DefaultN64Mappings default_n64_controller_mappings;
|
||||
|
||||
void get_n64_input(uint16_t* buttons_out, float* x_out, float* y_out);
|
||||
void handle_events();
|
||||
|
||||
bool game_input_disabled();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace recomp {
|
||||
};
|
||||
|
||||
void set_current_menu(Menu menu);
|
||||
Menu get_current_menu();
|
||||
|
||||
enum class ConfigSubmenu {
|
||||
Graphics,
|
||||
|
||||
Reference in New Issue
Block a user