2020-08-21 15:23:41 +02:00
|
|
|
module main
|
|
|
|
|
2020-10-03 11:01:12 +02:00
|
|
|
//type Atexit_func_t fn ()
|
2020-09-13 22:14:28 +02:00
|
|
|
//fn C.atexit(Atexit_func_t)
|
2020-08-21 15:23:41 +02:00
|
|
|
fn C.SDL_GetMouseState(x, y &int) u32
|
|
|
|
//fn C.SDL_GetKeyboardState(intptr numkeys) voidptr
|
|
|
|
//fn C.SDL_GetKeyboardState(voidptr numkeys) voidptr
|
|
|
|
fn C.SDL_GetKeyboardState(voidptr numkeys) byteptr
|
|
|
|
//fn C.SDL_GetKeyboardState(voidptr numkeys) &[]int
|
|
|
|
//fn C.SDL_GetKeyboardState(intptr numkeys) intptr
|
|
|
|
//fn C.SDL_GetKeyboardState(intptr numkeys) &int
|
|
|
|
fn C.SDL_GetScancodeFromKey(key int) int
|
2020-09-13 22:14:28 +02:00
|
|
|
fn C.SDL_PumpEvents()
|