Commit Graph

18 Commits

Author SHA1 Message Date
bjorn3 7a21573ebd Switch to absolute mouse events by default when running in a VM
This will transparently release the mouse grab of the VM when leaving
the screen edge, making it much easier to quickly switch between the VM
and other apps running on the host.
2024-01-12 18:33:29 +01:00
bjorn3 c2fd9125a7 Fix absolute mouse events with vmmouse
It is no longer possible to query the display size from inputd, so defer
conversion to display pixel coordinates to orbital instead. This also
avoids a lot of work every mouse event to query the display size as
orbital saves this information already.
2024-01-12 18:31:08 +01:00
bjorn3 7d4dd990e0 Try to enable vmmouse by default
This doesn't enable absolute mouse events yet as orbitral doesn't handle
them correctly.
2024-01-10 20:23:04 +01:00
Jeremy Soller 089280a62c Pass-through volume keys 2022-11-22 13:35:40 -07:00
Jeremy Soller cd3bfc04fc ps2: Ensure that scancode set is always translated to orbital constants 2022-11-22 13:14:19 -07:00
Jeremy Soller 43704e56f0 ps2: Handle extended (prefixed with 0xE0) keycodes 2022-11-22 12:15:53 -07:00
Jeremy Soller 397f45e19d p2sd: fixes for mouseless systems 2022-03-01 21:34:53 -07:00
Jeremy Soller 0ff0c42ce6 p2sd: Add timeout handling 2022-03-01 20:34:13 -07:00
4lDO2 7a2b3d7656 Update dependencies. 2021-06-17 18:18:27 +02:00
Jeremy Soller 751f5490bd Disable vmmouse again, for performance 2020-04-20 13:00:34 -06:00
Jeremy Soller af039d9507 Support relative vmmouse mode, and use by default 2020-04-20 11:24:18 -06:00
Jeremy Soller a6dbe788f6 Undo some changes 2020-04-20 11:23:15 -06:00
Jeremy Soller 255e5fcb68 WIP: ps2d interrupt fixes 2020-04-19 14:27:44 -06:00
Jeremy Soller bd860de51e Temporarily disable qemu mouse integration 2020-04-18 11:24:05 -06:00
Jeremy Soller a1144552d5 Re-enable QEMU mouse integration 2019-09-04 19:55:28 -06:00
Jeremy Soller 89d8a8a6f6 Support MouseRelativeEvent 2019-08-12 13:37:03 -06:00
Roland Ruckerbauer b50437af8a Fixed deprecated syntax in vesad
2018 edition upgrade & fixes for a bunch of 'future error warnings'

Actually upgrading all crates to 2018 edition
2019-06-29 21:47:52 +02:00
Jeremy Soller 42adde5809 Resize ps2d bounding box when vesad resizes 2018-02-06 09:52:14 -07:00