Hello to everyone,
this question is directed at those using a Linux system (In my case, Debian), and a wiimote.
Currently I have a "/usr/share/X11/xorg.conf.d/60-xorg-xwiimote.conf" file, with the following section
so far, so good.
I can use the wiimote outside of dolphin (only buttons AFAIK), and when using dolphin everything seems to work correctly (ir, accelerometer, buttons).
Bonus point, when playing with dolphin and clicking on the "home button", it behaves as if I#ve clicked the "esc" key, and asks me if I want to quit the game. With the arrow buttons and "A" button I can decide to continue to play or quite the game.
Now, I would like to use the wiimote more like a mouse on my PC, ie with the sensor bar.
AFAIK it it sufficient to change the file to
Now I can use the wiimote as a mouse, and inside a dolphin game it continues to work as expected (ir, accelerometer, buttons), with a minor "glitch": since the wiimote acts as a mouse, I can see the cursor moving over the game as if I'm moving the mouse. It does not affect the game in any way, it's just not nice.
But the reals issue is that when clicking on the home button, the wii menu appears (just like on the real wii), asking if I want to close the game, change controller settings, and so on), instead of asking me if I want to quit the game.
Thus the question is, how can I use the wiimote as mouse AND still be able to use the home key for closing games?
I followed
https://manpages.debian.org/testing/xser...#Option~11
and changed the file to
even if it should not be necessary, but without any luck.
Moving the file under /etc/X11/xorg.conf.d/ (where I expected it to be, but nonetheless) does not make any difference; it should not be necessary, otherwise adding 'Option "MotionSource" "ir"' should have no effect.
Update: I've forgot to add how I've configured dolphin:
I'm not using Passthrough, as otherwise I have issues using more than one wiimote.
I've enabled "Emulate the Wii's Bluetooth adapter", and set all 4 remotes to "Real Wii Remote" (because this is what I have)
I've also set "Connect Wii remotes for Emulated Controllers" and "Continuous Scanning"
Update 2:
looking at the source code (https://github.com/xwiimote/xf86-input-x...xwiimote.c), I found the undocumented "MapIRHome", setting it to "KEY_ESC" did not help
this question is directed at those using a Linux system (In my case, Debian), and a wiimote.
Currently I have a "/usr/share/X11/xorg.conf.d/60-xorg-xwiimote.conf" file, with the following section
Code:
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "xwiimote"
EndSection
so far, so good.
I can use the wiimote outside of dolphin (only buttons AFAIK), and when using dolphin everything seems to work correctly (ir, accelerometer, buttons).
Bonus point, when playing with dolphin and clicking on the "home button", it behaves as if I#ve clicked the "esc" key, and asks me if I want to quit the game. With the arrow buttons and "A" button I can decide to continue to play or quite the game.
Now, I would like to use the wiimote more like a mouse on my PC, ie with the sensor bar.
AFAIK it it sufficient to change the file to
Code:
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Option "MotionSource" "ir" # <--
Driver "xwiimote"
EndSection
Now I can use the wiimote as a mouse, and inside a dolphin game it continues to work as expected (ir, accelerometer, buttons), with a minor "glitch": since the wiimote acts as a mouse, I can see the cursor moving over the game as if I'm moving the mouse. It does not affect the game in any way, it's just not nice.
But the reals issue is that when clicking on the home button, the wii menu appears (just like on the real wii), asking if I want to close the game, change controller settings, and so on), instead of asking me if I want to quit the game.
Thus the question is, how can I use the wiimote as mouse AND still be able to use the home key for closing games?
I followed
https://manpages.debian.org/testing/xser...#Option~11
and changed the file to
Code:
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Option "MotionSource" "ir" # <--
Option "MapHome" "KEY_ESC" # <---
Driver "xwiimote"
EndSection
even if it should not be necessary, but without any luck.
Moving the file under /etc/X11/xorg.conf.d/ (where I expected it to be, but nonetheless) does not make any difference; it should not be necessary, otherwise adding 'Option "MotionSource" "ir"' should have no effect.
Update: I've forgot to add how I've configured dolphin:
I'm not using Passthrough, as otherwise I have issues using more than one wiimote.
I've enabled "Emulate the Wii's Bluetooth adapter", and set all 4 remotes to "Real Wii Remote" (because this is what I have)
I've also set "Connect Wii remotes for Emulated Controllers" and "Continuous Scanning"
Update 2:
looking at the source code (https://github.com/xwiimote/xf86-input-x...xwiimote.c), I found the undocumented "MapIRHome", setting it to "KEY_ESC" did not help