![]() |
VGamepad PC
The PC app for the virtual game controller.
|
A namespace to maintain the key names for settings. More...
Enumerations | |
enum | button_keys { A , B , X , Y , RSHDR , LSHDR , DPADDOWN , DPADUP , DPADRIGHT , DPADLEFT , VIEW , MENU } |
enum | thumbstick_keys { LeftThumbstick , LeftThumbstickUpKey , LeftThumbstickDownKey , LeftThumbstickLeftKey , LeftThumbstickRightKey , RightThumbstick , RightThumbstickUpKey , RightThumbstickDownKey , RightThumbstickLeftKey , RightThumbstickRightKey } |
enum | trigger_keys { LeftTriggerKey , LeftTriggerThreshold , RightTriggerKey , RightTriggerThreshold } |
Variables | |
const QString | mouse_sensitivity = "mouse_setting/mouse_sensitivity" |
const QString | executor_type = "server/executor_type" |
const QString | server_port = "server/port" |
A namespace to maintain the key names for settings.
The INI file format has severe restrictions on the syntax of a key. Qt works around this by using % as an escape character in keys. In addition, if you save a top-level setting (a key with no slashes in it, e.g., "someKey"), it will appear in the INI file's "General" section. To avoid overwriting other keys, if you save something using a key such as "General/someKey", the key will be located in the "%General" section, not in the "General" section.
const QString setting_keys::executor_type = "server/executor_type" |
const QString setting_keys::mouse_sensitivity = "mouse_setting/mouse_sensitivity" |
const QString setting_keys::server_port = "server/port" |