mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
By default the scanning code would pull-low all column pins and listen to any key press interrupt on input pins. This can save power compared to the repeatly polling. Once a key is pressed, the scanning code enters the busy loop and pull-low column pins one by one. Then generate the scan code to host. The code keeps polling after 1 second after no key is pressed. Then goes back to interrupt mode. BUG=none TEST=Manual tested on S*y machine. Change-Id: I0bf8877450dbd6ad1197a2fe1714ab755dc49a80