Module ctru::services::hid

source ·
Expand description

Human Interface Device service.

The HID service provides read access to user input such as button presses, touch screen presses, and circle pad information. It also provides information from the volume slider, the accelerometer, and the gyroscope.


  • Representation of the acceleration vector read by the accelerometer.
  • Representation of the angular rate read by the gyroscope.
  • Handle to the HID service.
  • A set of flags corresponding to the button and directional pad inputs present on the 3DS.


  • Error enum for generic errors within the Hid service.