Skip to content

Keyboard support for menus and actions where it is currently lacking #5419

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

Open
rinOfTheStars opened this issue Apr 22, 2025 · 2 comments
Open

Comments

@rinOfTheStars
Copy link

rinOfTheStars commented Apr 22, 2025

This would obviously be better if implemented into the game itself, but assuming Tarn and Putnam never get around to it, having keyboard controls for the handful of menus where it's entirely missing post 0.5x (re-)added via DFHack would be a pretty big deal for accessibility.

Right now, it really only seems to be the main menu, pause menu, and screens related directly to the two that strictly require mouse input (there's probably a few related to Adventure Mode as well, but I've not looked at that yet), so hopefully this shouldn't be too difficult to implement? I don't have time to do it right now (end of the semester is rapidly approaching and I have a lot of work to do!) but when I do have said time, I'll take a proper look-over of all of the menus currently in the game to see where keyboard support is missing and post that in this thread or something, so that there's an actual list of menus to 'fix'.

@ab9rf
Copy link
Member

ab9rf commented Apr 22, 2025

we can't easily provide keyboard support for things that currently can only be done by mouse. the game doesn't support adding keybinds to features that do not have them, which means we'd be forced to do synthetic mouse clicks, which has proven to be difficult to get to work reliably

i'm not saying this is impossible, but it's absolutely not easy and not likely to happen soon, especially as any solution we came up with would likely be fragile

@rinOfTheStars
Copy link
Author

rinOfTheStars commented Apr 23, 2025

Yeah that's what I expected honestly, and synthetic clicks are what I wanted to avoid by asking for this feature -.- I'll probably end up writing some scripts that make use of them anyways since there's not really an option for a better way of handing things unless the devs implement it themselves...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants