Fixed: Support for > 3 Mouse Buttons as Hotkeys

Started by Simon, December 16, 2024, 03:09:29 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Simon

Quoteit says "145" under the image of the Lix building in the skill bar in grey not "F13"

Okay, that is easy to fix for me in Lix.

QuoteIt works

Great! Now:

  • Go into Lix's options menu, and go to the builder icon.
  • Press the minus button under the builder until nothing is bound to builder.
  • Click the blank button under builder.
  • Press MB6 on the mouse.
  • Has Lix accepted MB6 as a new keybinding for the builder, i.e., the button again says "145"?

-- Simon

Silken Healer

Yes. It says "145" here too.

Also I just realized something. If people set their extra mouse buttons to F13+ in their manufactues' software, you don't need to edit the options.sdl in a text editor. You can just press that button to do F13. So you don't need to add anything or change anything to make this work. I feel so stupid I can't believe that slipped my mind.

I just did this on a fresh copy of Lix to test it that has never had it's options.sdl edited and it has the same behaviour of it working but showing the number "145" in grey

Simon

#32
All right, cool. I've given the names F13 through F24 for the internal Allegro key codes 145 through 156. Earmarked for 0.10.28.

Quoteextra mouse buttons to F13+ in their manufactues' software, you don't need to edit the options.sdl in a text editor. You can just press that button to do F13.
I just did this on a fresh copy of Lix

Right, anything else would have surprised me. The upside is: You've now confirmed that binding F13 works via both of the follwing ways: Binding F13 works via options file import, and binding F13 works via the keybinding button in the options menu.

-- Simon