zerojay / RetroPie-Extra

A collection of unofficial scripts for adding more emulators/ports/games to RetroPie.
MIT License
307 stars 99 forks source link

Control web browser (chromium/firefox/kweb) with gamepad #346

Closed amo13 closed 3 years ago

amo13 commented 3 years ago

Thank you a lot for your script and this repository!

I wonder if anybody can think of a way to control firefox or chromium with the gamepad? I use a xbox360 controller, but simply starting xboxdrv with the --mouse flag over ssh while running firefox unfortunately does not work and breaks the controller in emulationstation afterwards. I have to reboot to make the controller work again in emulationstation.

Any idea would be greatly appreciated!

veogehog commented 3 years ago

I too am very thankful for the repository but would also absolutely love it if we could map a controller to a mouse, or keyboard even.

I could see this working with the d-pad mapped to the mouse and simple right click and left click mapped to buttons 1 and 2

Or maybe the controller mapped to a keyboard and using the TAB key a lot (not ideal but at least makes the controller usable for things like Netflix)

zerojay commented 3 years ago

This is outside of the scope of the repo. It would probably be best to take this up on the forum.