View Single Post
  #220 (permalink)  
Old 06-02-2010, 06:33 PM
bitbank's Avatar
bitbank
PPCGeeks Regular
Offline
Location: Redmond, WA
 
Join Date: Oct 2009
Posts: 79
Reputation: 95
bitbank is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to bitbank
Re: Smartgear works great on Touch Pro 2! NES! Genesis!

Quote:
so bitbank - in your opinion - what would the best way be to tie this in with your program - should I have registry settings that map out control codes for each button like HKCU\Software\Cobaltikus\Sixaxis\Circle = "W" etc? and then just send those keydown and keyup events to the active foreground window?
Congratulations on getting this to work. Since your code will not be running inside SmartGear, the thing to do is use keybd_event() to create simulated key events. Pick any keys and everyone can do the key definition setup once. Or... we can integrate your code into mine to directly control SmartGear. I would be happy to publish the source code to my Microsoft BT routines in exchange for some widcomm code which can connect and read data from a BT device.
L.B.
Reply With Quote