blob: 2f4c6eb4c4159596e815b42b305c6720bbbaf950 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
use ::{Result, Handle};
use ::types::*;
use super::hid::circlePosition;
extern "C" {
pub static mut irrstMemHandle: Handle;
pub static mut irrstSharedMem: *mut vu32;
pub fn irrstInit() -> Result;
pub fn irrstExit();
pub fn irrstScanInput();
pub fn irrstKeysHeld() -> u32;
pub fn irrstCstickRead(pos: *mut circlePosition);
pub fn irrstWaitForEvent(nextEvent: u8);
pub fn IRRST_GetHandles(outMemHandle: *mut Handle,
outEventHandle: *mut Handle) -> Result;
pub fn IRRST_Initialize(unk1: u32, unk2: u8) -> Result;
pub fn IRRST_Shutdown() -> Result;
}
|