Scan Codes, Virtual Keys, and ASCII

Oh my!

Working on a new keyboard handler to support these little gems I found on eBay.  They are backlit, bluetooth, and even have a touchpad.

$T2eC16JHJGkFFm1Z9-omBSYfl7nt9g~~60_3[1]

 

So the built-in keyboard handler wasn’t going to cut it.  I needed to identify the keyboard by device GUID, the whole works.  So cue DirectInput.  Still on version 8… I guess if it ain’t broke don’t fix it?  Anyway the MapVirtualKeyEx isn’t working reliably for me so I am currently allowing configuration based on scan codes for those keys.

png[1]

 

While we are talking about input I got the rudders working… there are like 6 axes plus sliders, POV, all that on the most basic state object!  Might have to revisit that later.  And get this, the Saitek Pro Pedals have full range toe brakes independently left and right… I am so sad that I can’t use them since we have skids as the undercarriage on the Dropship!

Work is progressing again on the systems virtualization for the Dropship.  Also, work is continuing on the first module for the floating platform that will eventually be Cythera.

2-11-2014 9-56-49 PM

Leave a Reply