Shortcut of the 6 user buttons?

Post Reply
valentinfr
Posts: 8
Joined: Fri Jul 17, 2009 6:24 am

Shortcut of the 6 user buttons?

Post by valentinfr » Sat Sep 19, 2009 4:40 pm

Hello,
what are and how to use the shortcut of the 6 hardware buttons with programming with visual studio in c#?
by
valentin

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: Shortcut of the 6 user buttons?

Post by nicolas » Sun Sep 20, 2009 12:57 am

check the 'userkey' driver to understand how the buttons are handled.

hint - they are keyboard mapped to up/down/left/right/tab/enter via the above mentioned driver.

admin
Site Admin
Posts: 56
Joined: Fri Dec 19, 2008 11:11 pm

Re: Shortcut of the 6 user buttons?

Post by admin » Tue Sep 22, 2009 7:47 pm

nicolas wrote:check the 'userkey' driver to understand how the buttons are handled.

hint - they are keyboard mapped to up/down/left/right/tab/enter via the above mentioned driver.
Hi, nicolas

Thank your very much for the support on that.

valentinfr
Posts: 8
Joined: Fri Jul 17, 2009 6:24 am

Re: Shortcut of the 6 user buttons?

Post by valentinfr » Wed Sep 23, 2009 4:55 pm

thank, and how i use it and configure in visual studio?
by
valentin

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: Shortcut of the 6 user buttons?

Post by nicolas » Wed Sep 23, 2009 5:52 pm

Again, have a look at the driver code.

The driver takes care of setting up the GPIO for the buttons, establishing interrupts for them, and then handles the event.
It sends the keyboard keys I mentioned based on the button presses.


You have three options
A) Remove/Disable the driver and do the I/O yourself in the app.
OR
B) Modify the driver to send an event, or send other non-normal keyboard events.
OR
C) Have your app handle the keyboard events being issued by the driver.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests