tato_pad 0.2.5

Tiny structs that hold a game controller's state
Documentation
  • Coverage
  • 12.5%
    4 out of 32 items documented0 out of 0 items with examples
  • Size
  • Source code size: 11.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.01 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • DoctorWhoof/tato_pad
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • DoctorWhoof

[DPad] is A tiny (4 bytes) struct that contains the state of a "virtual gamepad", allowing a game to abstract the player input from the windowing back-end. It does not perform polling or querying the device, it simply stores the current and previous state.

[APad] contains all the buttons in a DPad, plus an analogue left stick. Will add more axis later.