parent
cacae36c73
commit
e75f112ec2
@ -0,0 +1,14 @@
|
||||
use super::ffi;
|
||||
|
||||
#[cfg(feature = "buttons")]
|
||||
pub use super::ffi::{BTN_EVT_DOWN, BTN_EVT_UP, BTN_LEFT, BTN_RIGHT};
|
||||
|
||||
#[cfg(feature = "touch")]
|
||||
pub fn io_touch_read() -> u32 {
|
||||
unsafe { ffi::touch_read() }
|
||||
}
|
||||
|
||||
#[cfg(feature = "buttons")]
|
||||
pub fn io_button_read() -> u32 {
|
||||
unsafe { ffi::button_read() }
|
||||
}
|
Loading…
Reference in new issue