Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length



Pages: [1]
  Print  
Author Topic: Keyboard HID assistance  (Read 394 times)
wolgemut
Newbie
*
Posts: 19


View Profile
« on: January 22, 2010, 10:27:00 AM »

I am trying to plug a usb keyboard into my EM Dev board. The application does ee the keyboard and eventaully keystrokes seem to be sent. However my problem is that I cannot update the display from keystrokes because it seems that the keyboard raises the keystroke events form a different thread. I have tried the below line of code, but the display never seems to update.

Dispatcher.Invoke(TimeOut,new DrawNumbersDelegate(DrawNumbers), null)

Anyone have any ideas? Thanks.
Logged
GHI_Support
Administrator
Hero Member
*****
Posts: 1252


View Profile
« Reply #1 on: January 22, 2010, 10:43:34 AM »

Our example in SDK already do that...
Your question is related to WPF. You might have a bug somewhere in the code, track the print to lcd method see if it is called.
Also,
http://www.ghielectronics.com/forum/index.php/topic,1868.0.html
Logged
wolgemut
Newbie
*
Posts: 19


View Profile
« Reply #2 on: January 22, 2010, 11:15:49 AM »

I have the examples, which one does this?

EM_toEM_TCPIPtoSerial,
ExampleProject,
FileSystemExample,
InFieldUpdateExample,
SSLExample,
Telit_PPP
USBClientExample,
USBHostLowLevelExample
Logged
wolgemut
Newbie
*
Posts: 19


View Profile
« Reply #3 on: January 22, 2010, 11:33:57 AM »

Ok, I found it in the ExampleProject. Thanks.
Logged
Pages: [1]
  Print  
 
Jump to: