2020-01-16 20:45:47 +01:00
|
|
|
module sokol
|
|
|
|
|
2020-01-17 20:05:45 +01:00
|
|
|
import sokol.c
|
|
|
|
import sokol.f
|
2020-01-16 20:45:47 +01:00
|
|
|
|
2020-01-17 20:05:45 +01:00
|
|
|
pub const (
|
|
|
|
used_import = c.used_import + f.used_import
|
|
|
|
)
|
2020-06-01 12:57:04 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
pub enum Key {
|
|
|
|
up=C.SAPP_KEYCODE_UP
|
|
|
|
left = C.SAPP_KEYCODE_LEFT
|
|
|
|
right =C.SAPP_KEYCODE_RIGHT
|
|
|
|
down = C.SAPP_KEYCODE_DOWN
|
|
|
|
escape = C.SAPP_KEYCODE_ESCAPE
|
|
|
|
space = C.SAPP_KEYCODE_SPACE
|
|
|
|
}
|
|
|
|
*/
|
2020-08-23 07:47:50 +02:00
|
|
|
|