[−][src]Trait spectrusty::peripherals::KeyboardInterface
An interface for providing changes of a ZX Spectrum keyboard state to one of the ULA
chipset emulators.
This trait is implemented by ControlUnit implementations which provide a Spectrum's keyboard interface.
Required methods
pub fn get_key_state(&self) -> ZXKeyboardMap
[src]
Reads the current state of the keyboard.
pub fn set_key_state(&mut self, keymap: ZXKeyboardMap)
[src]
Sets the state of the keyboard.
Implementors
impl<B, X> KeyboardInterface for Ula3<B, X>
[src]
pub fn get_key_state(&self) -> ZXKeyboardMap
[src]
pub fn set_key_state(&mut self, keymap: ZXKeyboardMap)
[src]
impl<B, X> KeyboardInterface for Ula128<B, X>
[src]
pub fn get_key_state(&self) -> ZXKeyboardMap
[src]
pub fn set_key_state(&mut self, keymap: ZXKeyboardMap)
[src]
impl<M, B, X, V> KeyboardInterface for Scld<M, B, X, V> where
M: PagedMemory8k,
[src]
M: PagedMemory8k,
pub fn get_key_state(&self) -> ZXKeyboardMap
[src]
pub fn set_key_state(&mut self, keymap: ZXKeyboardMap)
[src]
impl<M, B, X, V> KeyboardInterface for Ula<M, B, X, V>
[src]
pub fn get_key_state(&self) -> ZXKeyboardMap
[src]
pub fn set_key_state(&mut self, keymap: ZXKeyboardMap)
[src]
impl<U> KeyboardInterface for UlaPlus<U> where
U: Video + KeyboardInterface,
[src]
U: Video + KeyboardInterface,