recalbox / recalbox-configgen

Emulators configuration tools for recalboxOS
MIT License
7 stars 18 forks source link

Moonlight generator : can't use keyboard and mouse anymore #41

Open substring opened 8 years ago

substring commented 8 years ago

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

Cerdtruir commented 8 years ago

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

substring commented 8 years ago

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

substring commented 8 years ago

@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)

Cerdtruir commented 8 years ago

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).

substring commented 8 years ago

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

Cerdtruir commented 8 years ago

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

substring commented 8 years ago

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

substring commented 8 years ago

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

Cerdtruir commented 8 years ago

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

myles786 commented 8 years ago

This worked for me!

Frostoman commented 7 years ago

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

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