mirror of
https://github.com/transistorfet/moa.git
synced 2024-05-29 04:41:29 +00:00
20 lines
326 B
Rust
20 lines
326 B
Rust
|
|
#[derive(Copy, Clone, Debug, PartialEq)]
|
|
pub enum ControllerDevice {
|
|
A,
|
|
B,
|
|
C,
|
|
D,
|
|
}
|
|
|
|
pub struct Controller {
|
|
//pub dpad_up: bool,
|
|
//pub dpad_down: bool,
|
|
//pub dpad_left: bool,
|
|
//pub dpad_right: bool,
|
|
|
|
// TODO this is temporary until I actually implement this properly
|
|
pub bits: u16,
|
|
}
|
|
|