Skip to content

JoystickConfig ​

cpp
#include <Peripherals/Joystick/JoystickTypes.h>
cpp
struct JoystickConfig

Defined in Peripherals/Joystick/JoystickTypes.h:88

Configuration options of a joystick.

Public Attributes ​

ReturnNameDescription
boolautofireAutofire.
boolautofireBurstsBurst mode.
isizeautofireBulletsNumber of bullets per burst.
isizeautofireDelayAutofire delay (in frames).

autofire ​

cpp
bool autofire

Defined in Peripherals/Joystick/JoystickTypes.h:90

Autofire.


autofireBursts ​

cpp
bool autofireBursts

Defined in Peripherals/Joystick/JoystickTypes.h:91

Burst mode.


autofireBullets ​

cpp
isize autofireBullets

Defined in Peripherals/Joystick/JoystickTypes.h:92

Number of bullets per burst.


autofireDelay ​

cpp
isize autofireDelay

Defined in Peripherals/Joystick/JoystickTypes.h:93

Autofire delay (in frames).