diff --git a/src/she/osx/view.mm b/src/she/osx/view.mm index e51ac9114..eff80568d 100644 --- a/src/she/osx/view.mm +++ b/src/she/osx/view.mm @@ -236,6 +236,10 @@ bool is_key_pressed(KeyScancode scancode) ev.setType(Event::MouseMove); ev.setPosition(get_local_mouse_pos(self, event)); ev.setModifiers(get_modifiers_from_nsevent(event)); + + if (m_pointerType != she::PointerType::Unknown) + ev.setPointerType(m_pointerType); + queue_event(ev); }