recalbox / recalbox-configgen

Emulators configuration tools for recalboxOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moonlight generator : can't use keyboard and mouse anymore

substring opened this issue · comments

commented

As we are forcing input devices with the generator, we just map joysticks, no keyboard nor mouse

Is there any way to map the keyboard and mouse manually?

commented

nope. But sooner or later i'll have to correct that in configgen

commented

@Plugpoint just found a way to do it easily : add some input = /dev/input/event0 to /recalbox/share/system/configs/moonlight/moonlight.conf

You may need 2 lines : 1 for the keyboard event, one for the mouse event

Only downside so far : you need to have only 2 pads plugged, looks like moonlight only wants for inputs on its command line (1 keyboard, 1 mouse + 2 pads)

Thanks it worked

i added these lines:

input = /dev/input/event0

input = /dev/input/event2

event1 didnt seem to work

On a side note, I also noticed that when 5 controllers are plugged in, moonlight doesnt start(this is without keyboard and mouse).

commented

Yeah, that's the downside i wrote in my comment : you can force only 4 input devs

For information's sake I just ran a few tests.
I can get 4 controllers + keyboard + mouse running on moonlight steam.

commented

Hey great ! Dunno why it was crashing before mentionning too many inputs

commented

@Plugpoint what have you done to make that work ? any special step ? or it just crashes at 1 and 3 controllers + moue/keyboard ?

I think its because i only configure 2 controllers on the recalbox interface and only set p1 and p2 for the configured controllers.

This worked for me!

Hi everyone. I tried many combinations of "input = /dev/input/event0,1 and 2" in "moonlight.conf", and all what I got is:

  • keyboard and mouse working, but not gamepad
  • gamepad working, but not keyboard and mouse
  • keyboard, mouse and gamepad not working

Can somebody help me configure Moonlight to use keyboard, mouse and gamepad at same time?