AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
260 stars 61 forks source link

(Libretro / Retroarch) Mouse capture disabled when J2M is enabled #81

Open TVsIan opened 4 years ago

TVsIan commented 4 years ago

After some trial and error trying to figure out why I couldn't get mouse capture to work in NP2Kai Retroarch, I figured out that if the Joystick2Mouse option is enabled, the physical mouse will not work (aside from clicking the mouse wheel to bring up the menu), regardless of the capture setting.

Is there any way to have both the J2M and the physical mouse capture enabled at the same time? Ideally, for a game like Arkanoid I'd like to have the ability to play via mouse if I'm at my desk or gamepad if I'm sitting back without having to go through the menus to toggle it. A toggle button or key would work as well if that were possible.

AZO234 commented 4 years ago

Thanks. It's NICE idea!

I was mainly thinking about users who use gamepads. I think it is possible to use J2M and a real mouse at the same time. This should not be a problem for gamepad users.

(Since recent gamepads have analog sticks, it may be better to use them exclusively for mouse.)

AZO234 commented 4 years ago

I tuned mouse control.

Mouse is always enabled.

And Mouse cursor moving and left-button be able to controled with joypad stick.
Switch Stick2Mouse mode in config to 'L-stick' or 'R-stick(default)'.