Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

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

Open
substring opened this issue Mar 6, 2016 · 11 comments
Open

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

substring opened this issue Mar 6, 2016 · 11 comments

Comments

@substring
Copy link
Contributor

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

@Cerdtruir
Copy link

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

@substring
Copy link
Contributor Author

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

@substring
Copy link
Contributor Author

substring commented Aug 1, 2016

@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
Copy link

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
Copy link
Contributor Author

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

@Cerdtruir
Copy link

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

@substring
Copy link
Contributor Author

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

@substring
Copy link
Contributor Author

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

@Cerdtruir
Copy link

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

@myles786
Copy link

This worked for me!

@Frostoman
Copy link

Frostoman commented Oct 21, 2017

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?

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

No branches or pull requests

4 participants