Inability to bind mouse 4, mouse 5

After finally starting to try playing general demigods, i've found the n,m,o keys to be quite unintuitive being so far from either my right or left hand and figured i really only use

minion control only  (m)

and regroup keys often (o)

since i've got a 9 button mouse i figured no big deal i'd bind thouse keys to mouse 4 and mouse 5 and it would work very nicely with my style of play.

unforutanetly i can't seem to bind those keys to anything other than keyboard shortcuts, i was wondering if anyone else has this issue or am i simply missing something.

 

(please note, setpoint does allow me to bind those keys to keyboard shortcuts, but this would be less than ideal since everything else i use works with mouse 4 and mouse 5)

5,118 views 5 replies
Reply #1 Top

I think its great idea, because lot of people have 4-5 buttons or more on mouse.

Reply #2 Top

What are those keys set to in setpoint? Do you have them set up as generic buttons?

Reply #3 Top

generally they're set to generic buttons, i've changed them them to keyboard m and o to play as even page up page down didn't work which is what i normally use as a backup for the occasional game that doesn't support mouse 4 mouse 5

 

heck i can't even use mouse 3 when it's set to generic button or middle mouse which astounds me as most mice are 3 buttons these days.

 

does anyone know if there's an ini file somewhere i can edit to use some more of the buttons i've got on my mouse?

Reply #4 Top

Location:

C:\Documents and Settings\Administrator\My Documents\My Games\Gas Powered Games\Demigod

 

File:

Game.prefs (can be opened with notepad and read/modified)

 

Line:

            UserKeyMap = {
                ['1'] = '',                                       <- This means that [Hero Ability 1] has been set to 'Insert' key
                Insert = 'use_ability_1'

 

And I do not know how to or if possible to set to mouse buttons.

 

However I do have the most simplest solution.

 

Install: http://www.autohotkey.com/download/ (Just the top download)

Then make this script:

XButton#::4 [Open a new notepad type this in then save it as (name).ahk]

Open it like a normal file and a little green 'H' will be on your taskbar showning that the script is active.

This scripts sets mouse button # to the number 4 on your keyboard, you can change the # to any number above 1 where 1=4, 2=5 and so on.

 

The script can look like this:

MButton::Shift      <- Middle mouse button = keypress 'shift' on keyboard

XButton1::1         <- Mouse button 4 = keypress 1 on keyboard

XButton2::2         <- Mouse button 5 = keypress 2 on keyboard

XButton3::3         <- etc.

XButton4::4

XButton5::h

 

All info found here: http://www.autohotkey.com/docs/misc/Remap.htm

Its easy fast and only solution I could give you right now O:)

Reply #5 Top

thanks for the suggestion, whilst setting up macros will work as a temporary fix, i'd still like to see support added officially for more mouse buttons in the future