Structs§
- timeval
- xwii_
event - Event Object
- xwii_
event_ abs - Absolute Motion Payload
- xwii_
event_ key - Key Event Payload
- xwii_
iface - Device Object
- xwii_
monitor - Monitor object
Constants§
- XWII_
ABS_ NUM - XWII_
DRUMS_ ABS_ BASS - Bass pressure, just X direction.
- XWII_
DRUMS_ ABS_ CYMBAL_ LEFT - Cymbal pressure, just X direction.
- XWII_
DRUMS_ ABS_ CYMBAL_ RIGHT - Cymbal pressure, just X direction.
- XWII_
DRUMS_ ABS_ HI_ HAT - Hi-Hat pressure, just X direction.
- XWII_
DRUMS_ ABS_ NUM - Number of drums payloads, may get increased for new ones.
- XWII_
DRUMS_ ABS_ PAD - Control pad motion. X and Y direction available.
- XWII_
DRUMS_ ABS_ TOM_ FAR_ RIGHT - Right-most tom pressure, just X direction.
- XWII_
DRUMS_ ABS_ TOM_ LEFT - Mid-left tom pressure, just X direction.
- XWII_
DRUMS_ ABS_ TOM_ RIGHT - Mid-right tom pressure, just X direction.
- XWII_
EVENT_ ACCEL - Accelerometer event
- XWII_
EVENT_ BALANCE_ BOARD - Balance-Board event
- XWII_
EVENT_ CLASSIC_ CONTROLLER_ KEY - Classic Controller key event
- XWII_
EVENT_ CLASSIC_ CONTROLLER_ MOVE - Classic Controller movement event
- XWII_
EVENT_ DRUMS_ KEY - Drums key event
- XWII_
EVENT_ DRUMS_ MOVE - Drums movement event
- XWII_
EVENT_ GONE - Removal Event
- XWII_
EVENT_ GUITAR_ KEY - Guitar key event
- XWII_
EVENT_ GUITAR_ MOVE - Guitar movement event
- XWII_
EVENT_ IR - IR-Camera event
- XWII_
EVENT_ KEY - Core-interface key event
- XWII_
EVENT_ MOTION_ PLUS - Motion-Plus event
- XWII_
EVENT_ NUM - Number of available event types
- XWII_
EVENT_ NUNCHUK_ KEY - Nunchuk key event
- XWII_
EVENT_ NUNCHUK_ MOVE - Nunchuk movement event
- XWII_
EVENT_ PRO_ CONTROLLER_ KEY - Pro-Controller key event
- XWII_
EVENT_ PRO_ CONTROLLER_ MOVE - Pro-Controller movement event
- XWII_
EVENT_ WATCH - Hotplug Event
- XWII_
IFACE_ ACCEL - Accelerometer interface
- XWII_
IFACE_ ALL - Special flag ORed with all valid interfaces
- XWII_
IFACE_ BALANCE_ BOARD - BalanceBoard extension interface
- XWII_
IFACE_ CLASSIC_ CONTROLLER - ClassicController extension interface
- XWII_
IFACE_ CORE - Core interface
- XWII_
IFACE_ DRUMS - Drums extension interface
- XWII_
IFACE_ GUITAR - Guitar extension interface
- XWII_
IFACE_ IR - IR interface
- XWII_
IFACE_ MOTION_ PLUS - MotionPlus extension interface
- XWII_
IFACE_ NUNCHUK - Nunchuk extension interface
- XWII_
IFACE_ PRO_ CONTROLLER - ProController extension interface
- XWII_
IFACE_ WRITABLE - Special flag which causes the interfaces to be opened writable
- XWII_
KEY_ A - XWII_
KEY_ B - XWII_
KEY_ C - Extra C button
- XWII_
KEY_ DOWN - XWII_
KEY_ FRET_ FAR_ LOW - Guitar Fret-Far-Low event
- XWII_
KEY_ FRET_ FAR_ UP - Guitar Fret-Far-Up event
- XWII_
KEY_ FRET_ LOW - Guitar Fret-Low event
- XWII_
KEY_ FRET_ MID - Guitar Fret-Mid event
- XWII_
KEY_ FRET_ UP - Guitar Fret-Up event
- XWII_
KEY_ HOME - XWII_
KEY_ LEFT - XWII_
KEY_ MINUS - XWII_
KEY_ NUM - Number of key identifiers
- XWII_
KEY_ ONE - XWII_
KEY_ PLUS - XWII_
KEY_ RIGHT - XWII_
KEY_ STRUM_ BAR_ DOWN - Guitar Strum-bar-down event
- XWII_
KEY_ STRUM_ BAR_ UP - Guitar Strum-bar-up event
- XWII_
KEY_ THUMBL - Left thumb button
- XWII_
KEY_ THUMBR - Right thumb button
- XWII_
KEY_ TL - XWII_
KEY_ TR - XWII_
KEY_ TWO - XWII_
KEY_ UP - XWII_
KEY_ X - XWII_
KEY_ Y - XWII_
KEY_ Z - Extra Z button
- XWII_
KEY_ ZL - XWII_
KEY_ ZR - XWII_
LED1 - XWII_
LED2 - XWII_
LED3 - XWII_
LED4 - XWII_
NAME_ ACCEL - XWII_
NAME_ BALANCE_ BOARD - XWII_
NAME_ CLASSIC_ CONTROLLER - XWII_
NAME_ CORE - XWII_
NAME_ DRUMS - XWII_
NAME_ GUITAR - XWII_
NAME_ IR - XWII_
NAME_ MOTION_ PLUS - XWII_
NAME_ NUNCHUK - XWII_
NAME_ PRO_ CONTROLLER - XWII__
NAME
Functions§
- xwii_
get_ ⚠iface_ name - Return name of a given interface
- xwii_
iface_ ⚠available - Return bitmask of available interfaces
- xwii_
iface_ ⚠close - Close interfaces on this device
- xwii_
iface_ ⚠dispatch - Read incoming event-queue
- xwii_
iface_ ⚠get_ battery - Read battery state
- xwii_
iface_ ⚠get_ devtype - Read device type
- xwii_
iface_ ⚠get_ extension - Read extension type
- xwii_
iface_ ⚠get_ fd - Return file-descriptor
- xwii_
iface_ ⚠get_ led - Read LED state
- xwii_
iface_ ⚠get_ mp_ normalization - Read MP normalization and calibration
- xwii_
iface_ ⚠get_ syspath - Return device syspath
- xwii_
iface_ ⚠new - Create new device object from syspath path
- xwii_
iface_ ⚠open - Open interfaces on this device
- xwii_
iface_ ⚠opened - Return bitmask of opened interfaces
- xwii_
iface_ ⚠poll - Read incoming event-queue
- xwii_
iface_ ⚠ref - Increase ref-count by 1
- xwii_
iface_ ⚠rumble - Toggle rumble motor
- xwii_
iface_ ⚠set_ led - Set LED state
- xwii_
iface_ ⚠set_ mp_ normalization - Set MP normalization and calibration
- xwii_
iface_ ⚠unref - Decrease ref-count by 1
- xwii_
iface_ ⚠watch - Watch device for hotplug events
- xwii_
monitor_ ⚠get_ fd - Return internal fd
- xwii_
monitor_ ⚠new - Create a new monitor
- xwii_
monitor_ ⚠poll - Read incoming events
- xwii_
monitor_ ⚠ref - Increase monitor ref-count by 1
- xwii_
monitor_ ⚠unref - Decrease monitor ref-count by 1
Type Aliases§
- __
suseconds_ t - __
time_ t - xwii_
drums_ abs - Absolute Drum-Motion Indices
- xwii_
event_ keys - Key Event Identifiers
- xwii_
event_ types - Event Types
- xwii_
iface_ type - Interfaces
- xwii_
led - LEDs
Unions§
- xwii_
event_ union - Event Payload