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 

Logitech Coordless Freedom keyboard, and autohotkey.

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Psi-Jack



Joined: 24 Dec 2005
Posts: 7
Location: Austin, TX

PostPosted: Sat Dec 24, 2005 12:47 pm    Post subject: Logitech Coordless Freedom keyboard, and autohotkey. Reply with quote

Hello everyone..
I need some help here. I have a Logitech Coordless Freedom keyboard, paired with a Logitech Click! optical mouse. The keyboard is wireless, while the mouse isn't.

The problem I'm having is, first of all, the receiver has a dual USB/PS2 connector on it. The PS/2 I believe is strictly for the mouse, (which I don't use, because it sucked). I got the reciver basically from a cheaper coordless keyboard/mouse combo.

Anyway. Some keys don't come up in the Keyboard History. Such keys that aren't showing up are as follows:

F-Lock
Messenger/SMS
Webcam
iTouch
Shopping
Sleep/User
WheelUp
WheelDown
Back
Go

While in F-Lock mode, also, F1 - F12 return no scancodes, either.


I've been using Logitech's iTouch software up until I found AutoHotKey, and I've since, started trying to implement everything that iTouch does, plus a lot more.

One thing I have tried, is uninstalling the driver. But once I plug the keyboard back in, it just comes right back, the driver does.

I've tried using a USB->PS2 adapter, but when I use it, I get nothing from the keyboard at all.

I need suggestions, badly. Smile


Logitech makes excelent hardware, especially mice and keyboards, but their software to work with it is definately something that definately needs to be made more useful, overall. That is why I'm going with AutoHotKey. I'm hoping to do everything Logitech did with iTouch, but a /lot/ more. Like, modifiers for volume. SHIFT+Volume, only adjusts the Wave volume. Stuff like that.

I'm also trying to make some of these extended keys into menus. As if you were to right-click the desktop or something, and pull up a menu of what to do. I did that with iTouch, and if anyone has any idea how to do similar behavior with AutoHotKey, much would be appreciated. Smile

Anyway, thanks in advance, for anyone that can help me. Smile

Psi-Jack

PS: I'm tweaking my system out to the ultimate that I can. Including replacing the shell of explorer.exe to something else. Currently Blackbox's bbLean.
Back to top
View user's profile Send private message Yahoo Messenger
evl



Joined: 24 Aug 2005
Posts: 1237

PostPosted: Sat Dec 24, 2005 1:34 pm    Post subject: Reply with quote

I tried looking into this and I think it came down to something called a "filter driver" being required for hooking the media keys, etc - which basically doesn't seem to exist.
Back to top
View user's profile Send private message
Psi-Jack



Joined: 24 Dec 2005
Posts: 7
Location: Austin, TX

PostPosted: Sat Dec 24, 2005 1:50 pm    Post subject: Most things work now.. Reply with quote

Well, I did some testing, tweaking and stuff..

What I came up with, apparently Windows XP disables the PS/2 ports if nothing was plugged into them when the system was booted. REALLY annoying.

Now, I have my keyboard installed using the USB->PS/2 adapter, and I get /every/ key on the keyboard to work. The F-Lock itself doesn't seem to get any kind of scancode itself, but the keyboard itself changes mode. Basically all that means is I can't get the status of the keyboard's F-Lock mode, which isn't very nice, but I can deal with that. When in F-Lock mode, the F1-F12 now sends unknown key scancodes, so that they can be mapped to whatever, finally. Smile

Now, the ONLY thing that doesn't send any scancode, however, minus the F-Lock key, is the wheel Up/Down movement. When the wheel is pushed down, it sends a scancode, but rolled up or down, nothing.

Psi-Jack
Back to top
View user's profile Send private message Yahoo Messenger
Opacalumen
Guest





PostPosted: Sun Dec 25, 2005 1:53 am    Post subject: Reply with quote

Can you list the key codes for the buttons you found that wouldn't scan originally? (Messenger, Webcam, iTouch, Shopping, etc). I'd like to see if they work with the USB port, as I lost my converter a long time ago...

Thanks!
Back to top
Psi-Jack



Joined: 24 Dec 2005
Posts: 7
Location: Austin, TX

PostPosted: Sun Dec 25, 2005 3:43 am    Post subject: Previously hidden scancodes. Reply with quote

Opacalumen wrote:
Can you list the key codes for the buttons you found that wouldn't scan originally? (Messenger, Webcam, iTouch, Shopping, etc). I'd like to see if they work with the USB port, as I lost my converter a long time ago...

Thanks!



Code:

VK  SC   Type   Up/Dn   Elapsed   Key          Button
-------------------------------------------------------------------------------------------------------------
FF  111       d   4.54   W            Messenger/SMS
FF  112       d   0.45   E            Webcam
FF  113       d   1.64   R            iTouch
FF  114       d   0.27   T            Shopping
AC  132       d   0.43   M            My Home
5F  15F       d   4.96   Sleep        Sleep
FF  118       d   3.49   O            Back
FF  117       d   0.72   I            Go
FF  116       d   12.66  U            Wheel-Click

F-Lock mode functions for F1-F12:

VK  SC   Type   Up/Dn   Elapsed   Key          Button
-------------------------------------------------------------------------------------------------------------
FF  13B       d   7.88   not found    F1
FF  13C       d   1.07   not found    F2
FF  13D       d   0.75   not found    F3
FF  13E       d   0.43   not found    F4
FF  13F       d   0.37   not found    F5
FF  140       d   0.23   not found    F6
FF  141       d   0.21   not found    F7
FF  142       d   0.21   not found    F8
FF  143       d   0.22   not found    F9
FF  144       d   0.16   not found    F10
FF  157       d   0.16   not found    F11
FF  158       d   0.17   not found    F12


Here you go. Some were probably visible before, but I couldn't remember, so all the scancodes I could think of, that didn't return a specific value, like Media_Volume_Up, Launch_Email, etc etc. I didn't put in. A simple output from AutoHotKey itself.

If you have any luck getting USB parts to work, please, let me know. The keyboard seems to be much more responsive under USB than it is under PS/2.


So far, I've got my multi-media keys all working again. Very nice stuff so far. If anyone's interested, I'll post some of my code pieces up. I have things like the Master volume being just the volume wheel, alter it using Shift, Ctrl, WIN, or Alt, and it'll adjust Wave, CD, Line-In, and Aux volumes depending on the key. Very Happy And for media players that have their own volume control capabilities, and that I can get to work, the volume know adjusts only it's volume. If you hold CapsLock though, and adjust the volume, it'll revert back to the master volume while the app is active. And NOT screw up your CapsLock state.

-- Psi-Jack
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
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