37 Commits

Author SHA1 Message Date
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
PMheart
c91eebf3f4 Revert "OcAppleEventLib: Silence Coverity warning"
This reverts commit 7c695007ae70d53a21f12f5cd62452cad9a95894.
2022-03-03 12:58:46 +01:00
PMheart
7c695007ae OcAppleEventLib: Silence Coverity warning 2022-03-02 12:33:45 +01:00
vit9696
ee28077196 OcAppleEventLib: Allow tuning pointer poll list and period
closes #312
closes acidanthera/bugtracker#1899
2022-01-04 03:01:20 +03:00
MikeBeaton
ccf5dac708 AppleEvent: Add GraphicsInputMirroring setting
To allow kb input to reliably reach ConIn GUI apps (e.g. Windows BitLocker) even when an AppleEvent key handler (e.g. CrScreenshotDxe.efi) is active
2021-07-13 23:49:37 +01:00
MikeBeaton
47e9cc5eb8 AppleEvent: Updates
- Revert to simpler CustomDelays bool setting (avoid user errors)
 - Update docs to clarify correct use of key repeat settings on KeySupport AMI vs KeySupport V1/V2 vs non-KeySupport
 - Update PointerSpeedMul failsafe to OEM 1
 - Update key delay failsafes to OEM 50, 5
2021-04-11 18:37:19 +01:00
Marvin Häuser
7235a991d9 OcAppleEventLib: Do not cache screen resolution
Fixes an issue where drivers requesting AppleEvent events early (e.g. CrScreenshotLib) cause caching of a screen resolution that is later changed, leading to an out-of-sync cursor movement rectangle.
2021-04-07 12:06:28 +02:00
MikeBeaton
1919a0f458 AppleEvent: Apply minimum version check 2021-04-07 07:55:08 +01:00
Marvin Häuser
c5285973bc OcAppleEventLib: Log resolution determination 2021-04-05 18:22:56 +02:00
Marvin Häuser
c158d61a30 OcAppleEventLib: Support configurable pointer speed 2021-04-02 23:23:28 +02:00
MikeBeaton
0445d9b917 AppleEvent: New section UEFI->AppleInput, provide more detailed control of Apple Event protocol 2021-04-02 19:16:10 +01:00
Marvin Häuser
6b8b363ddd OcAppleEventLib: Implement OcAppleEventEx protocol 2021-04-02 16:43:54 +02:00
Marvin Häuser
ad482e498a OcAppleEventLib: Fix maximum screen coordinates 2021-04-02 16:43:54 +02:00
MikeBeaton
e646a47885 AppleEvent: Improve key repeat fine tuning 2021-03-30 05:42:32 +01:00
MikeBeaton
3ced5a4329 Input: Add KeySkipFirstDelay 2021-03-28 14:12:13 +01:00
MikeBeaton
e69e28cb69 BootPickers: Apple Event kb handling + typing; Apple Key Map non-repeat key handling; CTRL indicator in Builtin. 2021-03-23 12:26:46 +00:00
Marvin Häuser
f0046e45f1 OcAppleEventLib: Scale click area by UIScale 2021-03-19 16:34:09 +01:00
Marvin Häuser
5659fb5ebe
OcAppleEventLib: Fix pointer click timings 2021-03-19 01:43:48 +01:00
Marvin Häuser
b7105e3338 OcAppleEventLib: Reduce pointer poll frequency for compatibility
At least QEMU cannot poll faster than 10 ms.
2021-03-19 00:36:08 +01:00
Marvin Häuser
8ecaa8b77f OcAppleEventLib: Scale click durations when changing pointer poll timer 2021-03-19 00:14:32 +01:00
Marvin Häuser
6d3c8ff8a9 OcAppleEventLib: Improve variable naming 2021-03-18 23:45:09 +01:00
Marvin Häuser
3db317e93f OcAppleEventLib: Fix incorrect right button handling 2021-03-18 23:44:34 +01:00
Marvin Häuser
06991a81cf OcAppleEventLib: Aggregate raw pointer data
Scaling deltas can lead to restricted motion effects when they are low - division leads to rounding errors and the remainder is discarded. Aggregate the (upscaled) raw values instead and scale down on demand.
2021-03-17 20:04:29 +01:00
vit9696
6f936b8528 Library: Install all protocols on new handle 2021-01-22 20:29:14 +03:00
vit9696
a9cbcd9ae8 Build: Drop EfiPkg 2020-05-17 14:28:41 +03:00
vit9696
0ee57bdef1 OcConsoleLib: Fixed builtin text renderer failing to provide ConsoleControl 2020-05-14 09:43:07 +03:00
Michael Belyaev
d7e47bed07
Docs: Fix Doxygen comments (#46) 2020-05-05 22:46:14 +03:00
vit9696
c9f4115a2b Build: Reduce the use of TPL_NOTIFY as it may conflict with debugging 2020-04-17 09:50:35 +03:00
vit9696
5366a11b59 OcAppleEvent: Create events with TPL_CALLBACK priority
We use gRT->GetTime, and time services must be invoked with TPL
lower or equal to TPL_CALLBACK. Failing to do so causes OVMF crash.

closes acidanthera/bugtracker#846
2020-04-17 06:54:36 +03:00
vit9696
eb0919a97b OcAppleEventLib: Remove accidentally committed file 2020-04-16 20:48:33 +03:00
vit9696
97585cb6c2 Build: Remove OcSupportPkg usage 2020-02-29 17:39:41 +03:00
vit9696
57d4a855cf OcConsoleLib: Support HiDPI screens 2020-02-02 04:24:33 +03:00
vit9696
979087c68e Revert "Build: Fix MODULE_TYPE for libraries"
This reverts commit 93c96d030b176873052e479b20e5a7f0f367ce3c.
2020-01-23 20:01:40 +03:00
vit9696
93c96d030b Build: Fix MODULE_TYPE for libraries 2020-01-23 19:49:04 +03:00
vit9696
b69a9bbd62 Build: Improve IA32 compatibility 2020-01-08 23:42:38 +03:00
vit9696
03e7a85fba OcAppleEventLib: Fix AppleEvent protocol GUID import 2019-08-31 12:11:28 +03:00
Download-Fritz
8299c889e2 OcAppleKeyMapLib and OcAppleEventLib: Initial import 2019-08-29 18:05:46 +02:00