VGamepad PC
The PC app for the virtual game controller.
Loading...
Searching...
No Matches
setting_keys Namespace Reference

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"

Detailed Description

A namespace to maintain the key names for settings.

Note
From the docs:

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.

Enumeration Type Documentation

◆ button_keys

Enumerator
RSHDR 
LSHDR 
DPADDOWN 
DPADUP 
DPADRIGHT 
DPADLEFT 
VIEW 
MENU 

◆ thumbstick_keys

Enumerator
LeftThumbstick 
LeftThumbstickUpKey 
LeftThumbstickDownKey 
LeftThumbstickLeftKey 
LeftThumbstickRightKey 
RightThumbstick 
RightThumbstickUpKey 
RightThumbstickDownKey 
RightThumbstickLeftKey 
RightThumbstickRightKey 

◆ trigger_keys

Enumerator
LeftTriggerKey 
LeftTriggerThreshold 
RightTriggerKey 
RightTriggerThreshold 

Variable Documentation

◆ executor_type

const QString setting_keys::executor_type = "server/executor_type"

◆ mouse_sensitivity

const QString setting_keys::mouse_sensitivity = "mouse_setting/mouse_sensitivity"

◆ server_port

const QString setting_keys::server_port = "server/port"