sokol: add new mouse_dx and mouse_dy fields (fix for Android multitouch)

pull/6219/head
Delyan Angelov 2020-08-24 23:00:26 +03:00
parent 32a894719e
commit 3efa670d6a
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,8 @@ pub:
mouse_button MouseButton mouse_button MouseButton
mouse_x f32 mouse_x f32
mouse_y f32 mouse_y f32
mouse_dx f32
mouse_dy f32
scroll_x f32 scroll_x f32
scroll_y f32 scroll_y f32
num_touches int num_touches int
@ -68,6 +70,8 @@ pub:
mouse_button MouseButton mouse_button MouseButton
mouse_x f32 mouse_x f32
mouse_y f32 mouse_y f32
mouse_dx f32
mouse_dy f32
scroll_x f32 scroll_x f32
scroll_y f32 scroll_y f32
num_touches int num_touches int