libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
Input

Per-frame input snapshots (InputPadData), the per-channel InputController, the InputDriver interface and pointer smoothing. More...

Classes

class  InputController
 Logical controller for one input channel. More...
 
struct  InputPadData
 The universal input payload for UI elements. More...
 
class  InputDriver
 Platform input backend GuiElements delegate to, via the per-channel InputController objects update() feeds. More...
 
class  LowPassFilter
 Exponential low-pass filter used as the building block of OneEuroFilter. More...
 
class  OneEuroFilter
 Adaptive speed-based low-pass filter (the 1-euro filter) for smoothing noisy pointer signals such as the Wii U IR pointer. More...
 

Enumerations

enum  InputDataButtons : uint32_t {
  INPUT_BTN_NONE = 0 , INPUT_BTN_A = (1 << 0) , INPUT_BTN_B = (1 << 1) , INPUT_BTN_X = (1 << 2) ,
  INPUT_BTN_Y = (1 << 3) , INPUT_BTN_1 = (1 << 4) , INPUT_BTN_2 = (1 << 5) , INPUT_BTN_UP = (1 << 6) ,
  INPUT_BTN_DOWN = (1 << 7) , INPUT_BTN_LEFT = (1 << 8) , INPUT_BTN_RIGHT = (1 << 9) , INPUT_BTN_PLUS = (1 << 10) ,
  INPUT_BTN_MINUS = (1 << 11) , INPUT_BTN_HOME = (1 << 12) , INPUT_TRIGGER_L = (1 << 13) , INPUT_TRIGGER_R = (1 << 14) ,
  INPUT_TRIGGER_ZL = (1 << 15) , INPUT_TRIGGER_ZR = (1 << 16) , INPUT_THUMB_L = (1 << 17) , INPUT_THUMB_R = (1 << 18)
}
 Universal platform-agnostic button bitmasks Covers Wii, GameCube, and Wii U inputs. More...
 
enum  GuiHardwareProfile : uint32_t {
  INPUT_HW_GAMECUBE = 0 , INPUT_HW_WIIMOTE = 1 , INPUT_HW_NUNCHUK = 2 , INPUT_HW_CLASSIC = 3 ,
  INPUT_HW_WUPC = 4 , INPUT_HW_DRC = 5 , INPUT_HW_MAX = 6
}
 Hardware profile that a set of button or stick values came from (GameCube, Wiimote, Nunchuk, Classic, Wii U Pro, GamePad). More...
 

Detailed Description

Per-frame input snapshots (InputPadData), the per-channel InputController, the InputDriver interface and pointer smoothing.

Enumeration Type Documentation

◆ GuiHardwareProfile

enum GuiHardwareProfile : uint32_t

Hardware profile that a set of button or stick values came from (GameCube, Wiimote, Nunchuk, Classic, Wii U Pro, GamePad).

Definition at line 42 of file InputData.h.

◆ InputDataButtons

enum InputDataButtons : uint32_t

Universal platform-agnostic button bitmasks Covers Wii, GameCube, and Wii U inputs.

Definition at line 17 of file InputData.h.