| Author |
Message |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 19th, 2009, 1:50 pm
|
|
Replies: 397 Views: 90258
|
| Also, HID devices of type RIM_TYPEKEYBOARD do not have attributes such as VendorID, ProductID, etc... These are for HID devices of type RIM_TYPEHID. So, it's not safe to discriminate on those. huh... just when I thought I was learning something ;) This is some complicated business =P Let me know if... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 18th, 2009, 9:14 pm
|
|
Replies: 397 Views: 90258
|
| The problem is when I call 1/6 I see the up key but i can't tell the difference between the remote and the keyboard. Sounds to me like you're hitting a button on different devices but seeing the same data being sent to the PC? Can't you handle that, as TheGood pointed out, by filtering your input l... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 18th, 2009, 2:11 pm
|
|
Replies: 397 Views: 90258
|
| You're using GuiHandle (not sure where you found it) instead of hGui to register your TLCs. That was leftover from my attempts at modifying your example 2 to auto-register/exclude my devices upon hitting the CALL button (one of my first attempts at getting anything working). It didn't work, so rath... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 18th, 2009, 2:58 am
|
|
Replies: 397 Views: 90258
|
| Hope this helps! That helped tons. I knew I had seen a function reference before... somehow I lost track of where it was =) Here's what I'm running now (I'd love to take your advice most fully, but I'm still feeling a bit limited by my lack of comfort in this scripting language so far... so I'm sti... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 17th, 2009, 9:50 pm
|
|
Replies: 397 Views: 90258
|
| Don't hesitate to ask any other questions. :D I got deviated for a few days, but I'm trying to pick this up again. I started modifying your code example posted here to suit my needs. I'm particularly confused by the NumGet function. Is there any place I can find the definition of this function? I'm... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 15th, 2009, 2:45 am
|
|
Replies: 397 Views: 90258
|
| That does help tons! I was actually just fiddling with the RIDEV_EXCLUDE flag in the example 2 in order to clean everything up so I was only detecting output from the switch panel (I managed to get rid of the keyboard/mouse/joystick clutter). I thought maybe I'd have to use that flag in my script, e... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 15th, 2009, 1:33 am
|
|
Replies: 397 Views: 90258
|
| If it shows up similar to a keyboard, is there any chance that AutoHotkey can detect it without going though all that HID business? Give this a quick test. I appreciate the try, but it didn't work. I flipped every switch on the device, but nothing showed up in the queue. Using the RIDEV_PAGEONLY fl... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| Faolin |
|
Posted: May 14th, 2009, 11:23 pm
|
|
Replies: 397 Views: 90258
|
| Hi all, I'm in a bit of a predicament, but I feel like I'm *so* close to getting some results. I've got a new Saitek Pro Flight Switch Panel... unfortunately the website I ordered it from didn't make it clear that it ONLY has built-in support for Microsoft Flight Sim X. The ONLY third party plugins ... |
|
 |
| Sort by: |