Module oak_type::inputs

source ·
Expand description

Inputs are things that a person or other device (such as the host) can do to cause a behavior.

Examples include:

  • Analog inputs from hall effect sensors or a varistor
  • Momentary switches from a traditional keyboard switch
  • Messages from software on a host machine or other device

Modules

Traits

Structs that implement the Input trait represent physical or logical inputs to the keyboard. They can be anything from a momentary switch seen in typical keyboards to analog inputs from hall effect sensors or a varistor, to inputs from software on a host machine
Marker trait indicating that the implementing struct can be used as a configuration which read a signal of type S
Defines (typically at the hardware level) how a configured input is read.