AutoHotkey Community

It is currently May 27th, 2012, 4:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: January 19th, 2006, 4:29 pm 
Offline

Joined: January 19th, 2006, 4:16 pm
Posts: 15
Location: Heidelberg
Hi!

I have long searched for an elegant way to use all the keys on my Logitech MX1000 with AutoHotkey, without having to remap them to other used keys like Scroll Lock. At that time I searched these forums for an answer without finding one.

I just found out how to do it: The Logitech Setpoint software has a config file were you can manually remap all the keys to any key you like. I used F18-F24 as target of my remapping, these are not used and can easily be captured by AutoHotkey.

If you are interested I can post a detailed description of how to do it. I just wanted to ask before doing it, maybe this is already common knowledge here (as you might have noted, I am new to the forums). Just let me know if you are interested.

Best regards,
rh


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2006, 5:02 pm 
You did a search on the forum?

http://www.autohotkey.com/forum/viewtopic.php?t=1411
http://www.autohotkey.com/forum/viewtopic.php?t=4626

Concerning your post. I think you did it the right way when assigning common keys to your mouse button with the help of the Logitech software.
Autohotkey (as well as OS I think) supports just 5 Mousebuttons (XButton1, Xbutton2 as the two not commonly known).

I did it the same way like you with my MX510. The mouse software lets you assign weird shortcuts you wouldn't normally use like Ctrl+Shift+'Any Key'
Afterwards you can catch these hotkeys easily with Autohotkey.
I think this is the best and easiest solution.

Cheers
AGU


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2006, 5:45 pm 
Offline

Joined: January 19th, 2006, 4:16 pm
Posts: 15
Location: Heidelberg
yes I did a search, and if I did not overlook something the two posts don't really contain a solution.

Quote:
The mouse software lets you assign weird shortcuts you wouldn't normally use like Ctrl+Shift+'Any Key'


That's the way I did it until now (that was what I meant by Scroll Lock. it's only one key but never used either). But I don't find this very elegant - you never know when you might need them. I prefer having keys that will DEFINITLY never be rquired. To map such keys one has to manually edit the config file. This also has the advantage that you can easily backup the config file and copy it back, when reinstalling windows.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2006, 9:48 am 
I would very much like to have those instructions, or at least know the location of the mentioned config file, as it seems to me that SetPoint captures the events of my special keyboard keys before they get to AHK. If I could just remap those keys to F13 etc, i would be able to use SetPoint and AHK at the same time. At the moment, I don't have SetPoint installed, which leaves me without enhanced functionality for the extra buttons on my MX900.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2006, 5:13 pm 
Offline

Joined: January 19th, 2006, 4:16 pm
Posts: 15
Location: Heidelberg
ok, i thought that someone might find them useful.

so here you go:

1. The location of the config file depends on the language of your windows version, in the german version it is at

C:\Dokumente und Einstellungen\<Username>\Anwendungsdaten\Logitech\SetPoint\user.xml

i suppose that in english that would translate to something like

c:\documents and settings\<username>\application data\logitech\setpoint\user.xml

2. inside the file you can find a block that looks like

Code:
            <Button Number="7" Name="4">
               <Param IconLoc="" Type=""/>
               <Trigger Class="ButtonPress">
                  <Param Button="7" FirstRepeatDelay="0" RepeatDelay="0" Silent="0" Type="0"/>
                  <TriggerState Name="ButtonDownUp" HandlerSet="KeystrokeAssignment">
                     <Handler Class="KeystrokeAssignment">
                        <Param DisplayName="(Manually set to: F18)" LParam="4587521" Modifier="0" VirtualKey="129"/>
                     </Handler>
                  </TriggerState>
               </Trigger>
            </Button>


these may look different in your case. important is, that the button is configured to "KeystrokeAssigment".

3. what you need to modify is the "VirtualKey" part. the number has to be changed to the virtual keycode of the button you want to assign the button to. you can find a list of keycodes here:

http://msdn.microsoft.com/library/defau ... yCodes.asp

4. ATTENTION: the keycodes listed on the microsoft page are in hexadecimal numbers. logitech needs them in decimal. so you need to convert them. in the case of F18 you would get

hex: 81 -> decimal: 129

5. if you like you may modify the "DisplayName" part to any text you like. This will be displayed in the setpoint software and may remind you not to modify this setting using setpoint.

6. done.

i hope these intructions are sufficiently clear, and that they are helpful to you.

regards,

rh


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 24th, 2006, 12:21 am 
Offline

Joined: June 11th, 2005, 9:34 am
Posts: 264
Location: England ish
Thanks alot man, I love you,
about a half a year ago, i saw this tutorial, thought that this might come in handy one day and made a mental note of it. yesterday i bought an Mx518 gaming mouse with 8 buttons, and thanks to you i can finaly implement a clean and proffessional solution. :-)))
thanks thanks thanks thanks. :D :D

_________________
::
I Have Spoken
::


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 29th, 2006, 5:06 pm 
Offline

Joined: January 19th, 2006, 4:16 pm
Posts: 15
Location: Heidelberg
No problem. I am happy that the info was useful to someone.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2006, 12:35 pm 
Offline

Joined: March 24th, 2006, 4:15 pm
Posts: 20
Hi Guys,

I was in the same boat some time ago, using an MX1000 mouse but wanted to take advantage of AutoHotkey to have double and triple functionality assigned to each of the buttons depending on whether I had Shift or Windows key depressed.

I'm not sure if you're aware but there is a utility for Setpoint called UberOptions

http://www.mstarmetro.net/~rlowens/uberOptions/
http://www.logigamer.com/forums/viewtopic.php?t=142&start=0

Basically it allows you to use the existing Setpoint setup to create profiles based on different Applications. So it updates the XML file for you. Great idea, great utility. Logigamer does something similar but with uberOptions there is no real need for it.

In my case I am using it for Battlefield 2, I have all my weapons assigned to the mouse buttons and I can double and triple the functionality of each of these keys by holding Shift or Windows key using Autohotkey so I can bring up Map, use VOIP etv etc. Hope someone finds it useful. Saves you having to manually edit the XML files and adds functionality to your Logitech mouse.


Last edited by Lanser on January 30th, 2007, 1:29 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 23rd, 2006, 5:06 pm 
Offline

Joined: June 11th, 2005, 9:34 am
Posts: 264
Location: England ish
uff, I installed windows vista beta 2, and my setpoint driver just doesnt work at all any more.

just the basic functions, 5 buttons and sensity adjustment on my mx518, so no more hoykeying for me :-(
besides, ahk doesnt fully work on vista,,, ufff. a setback..

_________________
::
I Have Spoken
::


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 11th, 2006, 8:32 am 
Offline

Joined: August 11th, 2006, 8:29 am
Posts: 1
I tried changing the user.xml, but Setpoint wouldn't take it. It seems to revert to the default values every time. Please help. Thank you


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 20th, 2006, 12:52 pm 
Hey All :)

Just been reading this topic. I have an MX-1000 which I use with AutoHotKey constantly (I have been using it now for over a year), including all the buttons (3 Thumb buttons, the 2 buttons - one in front of & one behind wheel, the 3 wheel buttons - left + right + middle and of course the 2 primary buttons).

I use LogiGamer.NET v2.2.0 to remap the 7 additional buttons (not 3 main buttons) to F13 - F19 and then am able to have AutoHotKey remap these Function keys to whatever! The beauty of this system is that there are almost no programs or games that use these Function keys and hence to date I have had no key conflicts with AutoHotKey and the programs/games I use. And of course, you don't have to keep remapping the mouse buttons, just leave them be and let AutoHotKey do the rest.

You can download LogiGamer.NET (Freeware) from: http://www.logigamer.com/

Please DO NOT use any version other than 2.2.0 with an MX-1000 and ONLY do a manual install (manual install instructions are about 1/3 down the page - they are quite simple, but should be followed exactly)

Finally, just let you know what kind of success I have had with this combo, here's a bit of a list of programs I use with AutoHotKey and MX-1000:

Joint Operations: Have remapped ALL game keys (which is saying something) to mouse & Nostromo n52 (huge amount of key combos) & all works very smoothly.

Lightwave & Lightwave Modeler 3D 8: Again using both MX-1000 & n52

Mozilla Firefox, Media Player Classic, PowerDVD, Winamp, UltraEdit-32, etc etc (:

Well, I hope this is helpfull, lemme know if this gives you what u need.

L8r All :wink:


Report this post
Top
  
Reply with quote  
 Post subject: ??
PostPosted: September 20th, 2006, 1:13 pm 
Does this regards Logitech MediaPlay as well?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Leef_me, patgenn123, rbrtryn, Tilter_of_Windmills and 67 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group