libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
ControllerStick.h File Reference
Include dependency graph for ControllerStick.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ship::ControllerStick
 Aggregates axis-direction mappings and applies sensitivity, dead-zone, and notch-snap to a stick. More...
 

Namespaces

namespace  Ship
 Core namespace for the libultraship engine framework.
 

Macros

#define DEFAULT_STICK_SENSITIVITY_PERCENTAGE   100
 Default stick sensitivity as a percentage of full scale.
 
#define DEFAULT_STICK_DEADZONE_PERCENTAGE   20
 Default stick dead-zone as a percentage of full scale.
 
#define DEFAULT_NOTCH_SNAP_ANGLE   0
 Default notch snap angle in degrees (0 = disabled).
 

Macro Definition Documentation

◆ DEFAULT_NOTCH_SNAP_ANGLE

#define DEFAULT_NOTCH_SNAP_ANGLE   0

Default notch snap angle in degrees (0 = disabled).

◆ DEFAULT_STICK_DEADZONE_PERCENTAGE

#define DEFAULT_STICK_DEADZONE_PERCENTAGE   20

Default stick dead-zone as a percentage of full scale.

◆ DEFAULT_STICK_SENSITIVITY_PERCENTAGE

#define DEFAULT_STICK_SENSITIVITY_PERCENTAGE   100

Default stick sensitivity as a percentage of full scale.