mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-28 04:54:30 +00:00
linux test
This commit is contained in:
parent
5be2c563a5
commit
be91127e2c
@ -13,6 +13,22 @@ class KBMSettings : public QDialog {
|
|||||||
public:
|
public:
|
||||||
explicit KBMSettings(std::shared_ptr<GameInfoClass> game_info_get, QWidget* parent = nullptr);
|
explicit KBMSettings(std::shared_ptr<GameInfoClass> game_info_get, QWidget* parent = nullptr);
|
||||||
~KBMSettings();
|
~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:
|
private Q_SLOTS:
|
||||||
void SaveKBMConfig(bool CloseOnSave);
|
void SaveKBMConfig(bool CloseOnSave);
|
||||||
@ -37,6 +53,7 @@ private:
|
|||||||
bool MappingCompleted = false;
|
bool MappingCompleted = false;
|
||||||
bool HelpWindowOpen = false;
|
bool HelpWindowOpen = false;
|
||||||
QString mapping;
|
QString mapping;
|
||||||
|
QStringList mappinglist;
|
||||||
QString modifier;
|
QString modifier;
|
||||||
int MappingTimer;
|
int MappingTimer;
|
||||||
QTimer* timer;
|
QTimer* timer;
|
||||||
|
Loading…
Reference in New Issue
Block a user