mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-05 02:35:29 +02:00
Use KeyDef for Confirm/Cancel/TabLeft/TabRight keys
This commit is contained in:
1 parent
e1d3a7421b
commit
32617ae17c
6 files changed
+43
-35
No files matched your search
@@ -51,17 +51,17 @@ int MapPadButtonFixed(int keycode) {
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<keycode_t> confirmKeys;
|
||||
std::vector<keycode_t> cancelKeys;
|
||||
std::vector<keycode_t> tabLeftKeys;
|
||||
std::vector<keycode_t> tabRightKeys;
|
||||
std::vector<KeyDef> confirmKeys;
|
||||
std::vector<KeyDef> cancelKeys;
|
||||
std::vector<KeyDef> tabLeftKeys;
|
||||
std::vector<KeyDef> tabRightKeys;
|
||||
|
||||
void SetConfirmCancelKeys(const std::vector<keycode_t> &confirm, const std::vector<keycode_t> &cancel) {
|
||||
void SetConfirmCancelKeys(const std::vector<KeyDef> &confirm, const std::vector<KeyDef> &cancel) {
|
||||
confirmKeys = confirm;
|
||||
cancelKeys = cancel;
|
||||
}
|
||||
|
||||
void SetTabLeftRightKeys(const std::vector<keycode_t> &tabLeft, const std::vector<keycode_t> &tabRight) {
|
||||
void SetTabLeftRightKeys(const std::vector<KeyDef> &tabLeft, const std::vector<KeyDef> &tabRight) {
|
||||
tabLeftKeys = tabLeft;
|
||||
tabRightKeys = tabRight;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user