Absolute Pointer Protocol & Touchscreen | UEFI Dev (in C)
Adding Absolute Pointer Protocol support & testing for touchscreens/digitizers, and getting multiple Simple Pointer & Absolute Pointer instances working at the same time.
Links:
https://uefi.org/specifications (uefi & other specifications)
UEFI Programming playlist:
https://www.youtube.com/playlist?list=PLT7NbkyNWaqZYHNLtOZ1MNxOt8myP5K0p
Git Repo:
https://github.com/queso-fuego/uefi-dev
Repo state at the start of this video:
git clone --recurse-submodules https://github.com/queso-fuego/uefi-dev
cd uefi-dev
git checkout f384bac13dea2ca77706dcfc52073fab8ed0dc8f
Repo state at the end of this video:
git checkout a2545e0611fa4ccb61c0f92410e338999f7c364e
Next video:
- Reading files, getting the memory map, or other things.
Join the Community Discord: https://discord.gg/yKm4T89QFn
Contact:
https://queso_fuego.srht.site/contact.html
- Let me know if there's anything specific you'd like to see!
Questions about setup/software/etc.?
Check the FAQ: https://queso_fuego.srht.site/about.html
Outline:
0:00:00 Intro
0:00:55 Fix SPP mouse movement with floats
0:06:01 Get Absolute Pointer definitions from UEFI spec
0:17:16 Add code for multiple input events to test_mouse()
0:32:44 Add code to handle Absolute Pointer Protocols
0:44:20 OVMF only has either SPP or APP, use APP BIOS
0:51:30 Test on laptop
0:56:46 Fix APP cursor movement
1:02:09 Test APP fixes on laptop
1:04:30 Potential next topics & Outro (w/ beer)
Music credits:
Winter Night by Sakura Girl | https://soundcloud.com/sakuragirl_official
Music promoted by https://www.chosic.com/free-music/all/
Creative Commons CC BY 3.0
https://creativecommons.org/licenses/by/3.0/
#uefidev #cprogramming #touchscreen