1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

x64: basic mach-o and arm64 support

This commit is contained in:
Alexander Medvednikov
2021-03-05 17:52:34 +03:00
parent 818be80581
commit 845e8decce
5 changed files with 338 additions and 7 deletions

View File

@ -24,14 +24,13 @@ pub type FNMove = fn (x f32, y f32, z voidptr)
pub type FNChar = fn (c u32, x voidptr)
pub struct Event {
pub:
frame_count u64
typ sapp.EventType
key_code KeyCode
char_code u32
key_repeat bool
modifiers u32
pub mut:
frame_count u64
typ sapp.EventType
key_code KeyCode
char_code u32
key_repeat bool
modifiers u32
mouse_button sapp.MouseButton
mouse_x f32
mouse_y f32