Module spectrusty_peripherals::bus::joystick
source · Expand description
A bus device for connecting joysticks.
Re-exports
pub use crate::joystick::JoystickDevice;
pub use crate::joystick::JoystickInterface;
pub use crate::joystick::NullJoystickDevice;
pub use crate::joystick::kempston::*;
pub use crate::joystick::fuller::*;
pub use crate::joystick::sinclair::*;
pub use crate::joystick::cursor::*;
Structs
Cursor Joystick PortAddress.
Fuller Joystick PortAddress.
A joystick controller, providing a BusDevice implementation that can be used with joystick devices.
Kempston Joystick PortAddress.
A selectable joystick controller, providing a BusDevice implementation.
An error that can be returned when parsing a JoystickSelect variant.
Left Sinclair Joystick PortAddress.
Right Sinclair Joystick PortAddress.
The error type returned when a JoystickSelect variant conversion failed.
Enums
An enum of joystick device implementation variants.
Type Definitions
A convenient Cursor Joystick BusDevice type.
A convenient Fuller Joystick BusDevice type.
A convenient Kempston Joystick BusDevice type.
A convenient pair of Left and Right Joystick BusDevice type.
A convenient Left (Player 2) Sinclair Joystick BusDevice type.
A convenient Right (Player 1) Sinclair Joystick BusDevice type.