Add UI to configure keyboard-to-controller mapping (#308)

* Add UI to configure keyboard-to-controller mapping

* Add an optional "---fix" argument to format-checking script

* clang fix

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
This commit is contained in:
Vasyl_Baran 2024-09-11 08:51:18 +03:00 committed by GitHub
parent 74c2888aaa
commit fdb13a3b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 1436 additions and 173 deletions

View file

@ -0,0 +1,30 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
enum KeysMapping : int {
Start_Key = 0,
Select_Key,
LAnalogDown_Key,
LAnalogLeft_Key,
LAnalogUp_Key,
LAnalogRight_Key,
PS_Key,
RAnalogDown_Key,
RAnalogLeft_Key,
RAnalogUp_Key,
RAnalogRight_Key,
DPadLeft_Key,
DPadRight_Key,
DPadUp_Key,
DPadDown_Key,
L2_Key,
L1_Key,
Cross_Key,
R2_Key,
Circle_Key,
R1_Key,
Square_Key,
Triangle_Key
};