Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcuts in emulator topbar. #3137

Open
2 tasks done
oomPhilip opened this issue Nov 9, 2024 · 2 comments
Open
2 tasks done

Keyboard shortcuts in emulator topbar. #3137

oomPhilip opened this issue Nov 9, 2024 · 2 comments
Labels
area/emulator Web buttons or emulator related stuff area/graphics Button drawing Enhancement New feature or request

Comments

@oomPhilip
Copy link

Is this a feature relevant to companion itself, and not a module?

  • I believe this to be a feature for companion, not a module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the feature

When in an emulator view, Could the option be added to show the keyboard shortcut allocated to the button, in the topbar for each button.
e.g. Button 1/1/0 is allocated to keyboard key Q.
Show ether 1/1/0 or Q in the topbar.
And if the button has steps ether 1/1/0.2 or Q.2 - Keeping the step number is useful.

Image
Image

Usecases

While the location (1/1/0) is useful during button design, Showing the keyboard shortcut is more useful while using the emulator.
Adding the keyboard shortcut to the button text (e.g. Q\n) and setting it to align top left, gives the same kind of result, but then all text is left aligned and does not look as nice as center aligned.
Moving buttons around also have the challenge of now changing the text of moved buttons.

@Julusian Julusian added Enhancement New feature or request area/emulator Web buttons or emulator related stuff area/graphics Button drawing labels Nov 11, 2024
@Julusian
Copy link
Member

This is not trivial to do, as we are drawing the buttons once and using the same render for any streamdecks, web ui, emulators etc that are viewing them.
To do this, we will need to start drawing separately for at least each emulator

@gbdlin
Copy link

gbdlin commented Nov 16, 2024

Alternatively, emulator can have an overlay over each button drawn directly on the web page that would just cover the top bar or display the key separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/emulator Web buttons or emulator related stuff area/graphics Button drawing Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants