Remove the experimental XDotoolController virtual controller #78

Closed
opened 4 months ago by kimimaru · 1 comments
Owner

Remove XDotoolControllerManager and XDotoolController from the project. Here's the reasoning behind this:

  • It's not easy to change the button-to-key mappings. Essentially, using this virtual controller means you're forced to use the PCConsole GameConsole for the correct key mappings.
  • Adding new keys involves recompiling TRBot. TRBot omits certain keys for safety, but ultimately the host should decide which keys they want allowed. This implementation doesn't allow for that in a convenient way.
  • xdotool works only on the X11 windowing system and is not compatible across all setups. Several GNU/Linux distros have adopted Wayland, which does not work with xdotool.
  • There are better ways to accomplish the same thing. On GNU/Linux, AntiMicroX can achieve the same thing and more, and on Windows software such as JoyToKey can be used.
Remove `XDotoolControllerManager` and `XDotoolController` from the project. Here's the reasoning behind this: * It's not easy to change the button-to-key mappings. Essentially, using this virtual controller means you're forced to use the `PCConsole` GameConsole for the correct key mappings. * Adding new keys involves recompiling TRBot. TRBot omits certain keys for safety, but ultimately the host should decide which keys they want allowed. This implementation doesn't allow for that in a convenient way. * `xdotool` works only on the X11 windowing system and is not compatible across all setups. Several GNU/Linux distros have adopted Wayland, which does not work with `xdotool`. * There are better ways to accomplish the same thing. On GNU/Linux, [AntiMicroX](https://github.com/AntiMicroX/antimicroX) can achieve the same thing and more, and on Windows software such as JoyToKey can be used.
kimimaru added the
low priority
refactor
labels 4 months ago
kimimaru added this to the TRBot 2.4 project 4 months ago
Poster
Owner

Completed in 8d27e93ad3. Documentation has been updated accordingly and mentions software that can be used to achieve the same effect.

Completed in https://codeberg.org/kimimaru/TRBot/commit/8d27e93ad3b0df51e0ca749250745dec8eb8fb23. Documentation has been updated accordingly and mentions software that can be used to achieve the same effect.
kimimaru closed this issue 4 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.