craydate 0.1.7

A safe Rust API for the Playdate hand held gaming system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// The set of input buttons.
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum Button {
  /// The up arrow on the directional pad.
  Up,
  /// The down arrow on the directional pad.
  Down,
  /// The left arrow on the directional pad.
  Left,
  /// The right arrow on the directional pad.
  Right,
  /// The B button.
  B,
  /// The A button.
  A,
}