sokol: add new mouse_dx and mouse_dy fields (fix for Android multitouch)
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