XS Framework
A 3DS homebrew development framework.
 
Loading...
Searching...
No Matches
xs::hid::control Namespace Reference

Functions

void ScanInput ()
 Scans the current state of all input devices.
 
u32 GetKeysPressed ()
 Gets the keys that were just pressed.
 
u32 GetKeysHeld ()
 Gets the keys that are currently being held.
 
u32 GetKeysReleased ()
 Gets the keys that were just released.
 
circlePosition GetCirclePadPosition ()
 Gets the current position of the circle pad.
 
touchPosition GetTouchPosition ()
 Gets the current position of the touch screen.
 

Function Documentation

◆ GetCirclePadPosition()

circlePosition xs::hid::control::GetCirclePadPosition ( )

Gets the current position of the circle pad.

Returns
circlePosition Current circle pad position.

◆ GetKeysHeld()

u32 xs::hid::control::GetKeysHeld ( )
inline

Gets the keys that are currently being held.

◆ GetKeysPressed()

u32 xs::hid::control::GetKeysPressed ( )
inline

Gets the keys that were just pressed.

◆ GetKeysReleased()

u32 xs::hid::control::GetKeysReleased ( )
inline

Gets the keys that were just released.

◆ GetTouchPosition()

touchPosition xs::hid::control::GetTouchPosition ( )

Gets the current position of the touch screen.

Returns
touchPosition Current touch screen position.

◆ ScanInput()

void xs::hid::control::ScanInput ( )
inline

Scans the current state of all input devices.