Hello everyone
I am having a hard time finding any sort of information about gaining access to the pushbuttons that are onboard the AM335x-EVM-SK. I know for the android operating system they are accessible, but I am looking to gain access to them in linux for a different reason. I'm using the linux-sdk with Qt. I will be using C/C++ to try to accomplish the following.
I am attempting to gain access to these pushbutton switches in order to use them as an onboard directional keypad. The end goal is to have these buttons generate Qt Key events so that I can send them to my touch screen application. Granted they arranged in a stright line, I was sipmly going to assign them to the following: SW1 = up, SW2 = left, SW3 = right, SW4 = down.
From what I have gather so far, I may be able to access these via the GPIO driver already included in the linux kernel, however I do not know which GPIO pins I would need to access in order to accomplish this, or exactly how I would handle these GPIOs in my code. Alternatively, I noticed that inside the /dev/input folder, there is a file called event3, which seems to respond to the pushbuttons, though it seems to just print a bunch or garbage into the terminal screen.
Any advice? And thanks in advanced.