Opened 6 years ago

Closed 6 years ago

#671 closed enhancement (fixed)

Add hotkey info tab to menu

Reported by: Funkencool Owned by: Bluestone
Priority: major Milestone:
Component: BAR Version:
Keywords: Cc:

Description

At first just a list would be really nice, but in the future I'd like to make them all configurable or at least most of them (like all engine ones).

I started working on a widget then realized I don't actually know where to find/change any of the defaults. I thought they were in uikeys.txt but mine's blank, so I guess not.

I don't actually know very many (hence why I'd like to make this), so hopefully someone can help me out a little on the planning stage for this one.

Change History (9)

comment:1 by Funkencool, 6 years ago

Summary: Add hotkey etc.. tab to menuAdd hotkey info tab to menu

comment:2 by Bluestone, 6 years ago

The places where keys are defined are many and varied. In the past it was all uikeys but now widgets/gadgets also handle keyboard input. I'm not sure how feasible it is to make all keys configurable.

comment:3 by Bluestone, 6 years ago

The list of (nearly) all BA keybinds is here: http://springrts.com/phpbb/viewtopic.php?f=44&t=30173

comment:4 by Funkencool, 6 years ago

Then for now I'll just try to get a list in game. Though I might look for some feedback later about which ones people would most like to configure.

I wonder if it would be possible to get a list of registered actions (and the keys bound to it) from the action handler, which is what I assume most widgets/gadgets use for hotkeys?

comment:5 by Funkencool, 6 years ago

O nm I guess it's bound with the 'bind' command, so I guess the question would instead be is there a way to get spring to dump those bindings?

comment:6 by Bluestone, 6 years ago

Possibly, but many widget/gadgets don't use bind or share info with the actionHandler, because (especially for complex input) its easier/cleaner code to handle mouse/keyboard input directly through the callins.

Last edited 6 years ago by Bluestone (previous) (diff)

comment:7 by Bluestone, 6 years ago

Owner: changed from Funkencool to Bluestone

comment:8 by Bluestone, 6 years ago

I'll do this :)

comment:9 by Bluestone, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.