Where's the code for inputs in Grub?
I'm looking for the .c file that tells grub about how to handle keyboard inputs? I want to see if I can use that as a base to write a module to take input from game controllers.
В Thu, 29 May 2014 09:24:13 -0600
Gerard Butler <[email protected]> пишет:
Quoted 1 line
I'm looking for the .c file that tells grub about how to handle keyboard inputs? I want to see if I can use that as a base to write a module to take input from game controllers.
Look under grub-core/term. Your driver would need to implement function for getting keys and register itself with grub_term_register_input() so it becomes available for grub core.