Author Topic: Is there a way to assign an action to multiple keys?  (Read 1295 times)

I have a mouse with several buttons, and sometimes I like to use the mouse to plant bricks.
Is it possible to have my plant brick key assigned to my mouse and my keyboard at the same time?

you could assign the buttons on your mouse to the keys that you use to build via the mouse's drivers (assuming it has some)

personally my extra mouse buttons aren't even detected by blockland.

I have 8 buttons on my mouse from which 6 are unusable.

I'd love to toggle my light and all that stuff from it.

I have a mouse with several buttons, and sometimes I like to use the mouse to plant bricks.
Is it possible to have my plant brick key assigned to my mouse and my keyboard at the same time?

If your mouse has a macro setting on the driver, make the respective button press the NumEnter button.

Alternatively, but more complicated (but I love using it, useful thing), you can get AutoHotKey and check out http://www.autohotkey.com/docs/KeyList.htm#SpecialKeys
Then use the following code:

SC159 :: NumpadEnter
return

As the tutorial said, replace 159 with the key's value.

I believe you would need two actionmaps, I'm not sure if it can be done as I never tried it before.

You could make a script that has a new function which plants a brick, and then bind the mouse button to that function.