SteamControllerMode
Objective-C
enum SteamControllerMode : NSUInteger {}Swift
enum SteamControllerMode : UIntRepresents a Steam Controller’s behaviour. This allows changing between Game Controller emulation (the default), and keyboard/mouse.
In Keyboard/Mouse mode, the controls are mapped to the following keys:
- Left trackpad: arrows
- Analog stick: arrows
- Analog stick button: F4
- A: return
- B: escape
- Back: tab
- Forward: escape
- Left grip: F7
- Right grip: F9
- Left bumper: space
- Right bumper: F9
Other controls are not mapped to keys.
- 
                  
                  The controller behaves as an MFi Game Controller. DeclarationObjective-C SteamControllerModeGameControllerSwift case gameController = 0
- 
                  
                  The controller behaves as a keyboard and mouse. DeclarationObjective-C SteamControllerModeKeyboardAndMouseSwift case keyboardAndMouse = 1
 View on GitHub
            View on GitHub
           SteamControllerMode Enumeration Reference
      SteamControllerMode Enumeration Reference