I floundered around with assembly and hooks before figuring out that I need to use a combination of a GetKeyHook and a system flag for the alpha key modifier to detect F5! And broke the emulator lots doing it (as seen in the pics).
Some blunders I’ve had:
- Trying to use the two other types of hooks (RawKeyHook, GetCSCHook) instead
- Trying to make a menu hook for F5 (it looks like a menu… and acts like a menu… but isn’t classified as a menu for the purposes of hooks.)
- Mixing up include files and assemblers (eventually settled on ti84pce.inc and SPASM)
- Trying to make an interactive menu with display text
Thank you so much to this one french guy from a calculator forum in 2015 who had a working calculator-wide shortcut key that saved me from hook purgatory
Note: I have 8+ unlogged hours on this;; because SPASM doesn’t work with a mac and I don’t know how to set up hackatime with docker containers.