AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HID devices with lots of buttons that are not "keyboard

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
darkangael



Joined: 18 Jun 2007
Posts: 3

PostPosted: Sun Jan 06, 2008 4:28 am    Post subject: HID devices with lots of buttons that are not "keyboard Reply with quote

Hi all,

I had been looking for a way to detect differences between two keyboards and have the output redirected to different windows depending on which board it was. This has been shown to be impossible with AHK. What can be done is use of HID devices that are not detected as "keyboards". What I am looking for are devices which have many buttons, of about the same size as keyboard buttons, that could be used as a sort of "control panel" and are not detected as keyboards.

Anyone know of anything?
Back to top
View user's profile Send private message
tinaa



Joined: 25 Nov 2004
Posts: 41

PostPosted: Fri Jan 18, 2008 7:40 pm    Post subject: Reply with quote

I just got a Logitech Cordless Wave Desktop. I was playing with the driver for the keyboard to see if I could make better use of the extra keys by bypassing Logitech's Setpoint software. I noticed, in addition to the Logitech drivers, there were 2 generic drivers listed as compatible: HID keyboard and HID device. Selecting HID keyboard allowed the keyboard to function as a normal keyboard, but selecting HID device caused the keyboard to mostly stop working as a keyboard. A few of the extra buttons continued to be mapped to keyboard scancodes, but the standard keyboard buttons no longer did so and were basically ignored by the OS.

I don't know if this is possible or not, but I'm wondering if by selecting a generic (non-keyboard) HID driver for an HID keyboard, you'd be able to do what you're trying to do...

If you have a test program to capture HID key presses, I'd be willing to try it on my keyboard with the generic driver installed.
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 2739
Location: Australia, Qld

PostPosted: Sat Jan 19, 2008 12:37 am    Post subject: Reply with quote

Try DLLCall: Support for Human Interface devices or Keyboard Media Keys (for USB HID devices!). I tried to use generic USB HID drivers with my mouse at one point, but found that it would either be undetectable or would move the cursor. Perhaps you'll have better luck...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group