mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 19:44:46 +00:00
linux test
This commit is contained in:
parent
5be2c563a5
commit
be91127e2c
1 changed files with 17 additions and 0 deletions
|
@ -13,6 +13,22 @@ class KBMSettings : public QDialog {
|
|||
public:
|
||||
explicit KBMSettings(std::shared_ptr<GameInfoClass> game_info_get, QWidget* parent = nullptr);
|
||||
~KBMSettings();
|
||||
// Platform-specific scan codes
|
||||
#ifdef _WIN32
|
||||
const int lctrl = 29;
|
||||
const int rctrl = 57373;
|
||||
const int lalt = 56;
|
||||
const int ralt = 57400;
|
||||
const int lshift = 42;
|
||||
const int rshift = 54;
|
||||
#else
|
||||
const int lctrl = 29;
|
||||
const int rctrl = 97;
|
||||
const int lalt = 56;
|
||||
const int ralt = 100;
|
||||
const int lshift = 42;
|
||||
const int rshift = 54;
|
||||
#endif
|
||||
|
||||
private Q_SLOTS:
|
||||
void SaveKBMConfig(bool CloseOnSave);
|
||||
|
@ -37,6 +53,7 @@ private:
|
|||
bool MappingCompleted = false;
|
||||
bool HelpWindowOpen = false;
|
||||
QString mapping;
|
||||
QStringList mappinglist;
|
||||
QString modifier;
|
||||
int MappingTimer;
|
||||
QTimer* timer;
|
||||
|
|
Loading…
Add table
Reference in a new issue