380

Using input devices
Summary

  • To use a new input gadget, implement the InputDevice interface and supply methods to read that gadget

  • Provide high-level generic access to that device through a Sensor

  • A SensorRead contains a reading from the Sensor

  • Use methods on SensorRead to get the associated transform and button state