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:
Mr-Wiseguy
2024-01-08 03:38:05 -05:00
parent 0609c82417
commit 5ee7eaed1f
6 changed files with 174 additions and 47 deletions
+4 -1
View File
@@ -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
+1
View File
@@ -42,6 +42,7 @@ namespace recomp {
};
void set_current_menu(Menu menu);
Menu get_current_menu();
enum class ConfigSubmenu {
Graphics,