mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: add new mouse_dx and mouse_dy fields (fix for Android multitouch)
This commit is contained in:
parent
32a894719e
commit
3efa670d6a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user