mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Allow customizing the tab left/right keys.
This commit is contained in:
1 parent
08157613d5
commit
1c87fb7485
5 files changed
+42
-6
No files matched your search
@@ -44,12 +44,19 @@ int MapPadButtonFixed(int keycode) {
|
||||
|
||||
std::vector<keycode_t> confirmKeys;
|
||||
std::vector<keycode_t> cancelKeys;
|
||||
std::vector<keycode_t> tabLeftKeys;
|
||||
std::vector<keycode_t> tabRightKeys;
|
||||
|
||||
void SetConfirmCancelKeys(std::vector<keycode_t> confirm, std::vector<keycode_t> cancel) {
|
||||
void SetConfirmCancelKeys(const std::vector<keycode_t> &confirm, const std::vector<keycode_t> &cancel) {
|
||||
confirmKeys = confirm;
|
||||
cancelKeys = cancel;
|
||||
}
|
||||
|
||||
void SetTabLeftRightKeys(const std::vector<keycode_t> &tabLeft, const std::vector<keycode_t> &tabRight) {
|
||||
tabLeftKeys = tabLeft;
|
||||
tabRightKeys = tabRight;
|
||||
}
|
||||
|
||||
uint32_t ButtonTracker::Update() {
|
||||
pad_buttons_ |= pad_buttons_async_set;
|
||||
pad_buttons_ &= ~pad_buttons_async_clear;
|
||||
|
||||
Reference in new issue
Block a user