|
-
Jun 23rd, 2001, 10:31 PM
#1
How can I tell if an extended key is down?
If you have a Compaq Easy Access Keyboard (or a keyboard with with customizable buttons at the top) then you should know what I mean.
On my keyboard it has 8 configurable buttons, but their functionality is very limited (executing a program / opening a web page / adjust volume). I want to make a program that allows it to do more than that, but 6 of the 8 keys return 255, the others return Asc("[") and Asc("]"). Anyone know if an API call can or anything that can get the key's actual value? Last time I used GetKeyboardState it made VB crash...
-
Jun 24th, 2001, 03:36 AM
#2
I've got a Presario laptop with those buttons, but I don't think you can catch them with ascii codes. You probably know compaq has their own little program to catch those, perhaps you can squeeze it out of a compaq techie.....
-
Jun 25th, 2001, 02:07 AM
#3
Well Compaqs aren't known for their ease of programming... maybe the techie will tell me.
-
Jun 25th, 2001, 03:40 AM
#4
well you got me interested, and I came across this.
In the Components listing, there are controls called BttnAdv, CPQBCM and CPQREC. I had a brief look at it and it looks like its what you're after.
-
Jun 26th, 2001, 12:24 AM
#5
Uhhh, they aren't in my list... dang . Oh well, it's not the end of the world, I guess I'll just have to make shortcut keys using the ones I already can program (such as the Windows and "Right-Click" button).
-
Jun 26th, 2001, 01:19 AM
#6
hmm...what model compaq do you have?
-
Jun 27th, 2001, 12:15 AM
#7
A crap one. It's just an old Deskpro, but I stole the keyboard from work, and the driver was on a CD... thought it might have been on there but it's not...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|