Joystick class of PicoRuby
Type aliases
adc_pins_t
26 | 27 | 28 | 29
init_axis_t
:x | :y | :z | :rx | :ry | :rz
init_param_t
{
invert: bool?,
magnify: Integer? | Float?,
pin: adc_pins_t
}
Singleton methods
new
Joystick.new(?Hash[init_axis_t, init_param_t] axes) -> instance
Instance methods
drift_supression=
instance.drift_supression=(Integer) -> bool
report_hid
instance.report_hid(Integer, Integer) -> nil