Skip to content

JoystickConfig ​

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

Defined in Peripherals/Joystick/JoystickTypes.h:79

Configuration 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:81

Autofire.


autofireBursts ​

cpp
bool autofireBursts

Defined in Peripherals/Joystick/JoystickTypes.h:82

Burst mode.


autofireBullets ​

cpp
isize autofireBullets

Defined in Peripherals/Joystick/JoystickTypes.h:83

Number of bullets per burst.


autofireDelay ​

cpp
isize autofireDelay

Defined in Peripherals/Joystick/JoystickTypes.h:84

Autofire delay (in frames).