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

Touch input in retroarch #61

Open
dapetcu21 opened this issue Jun 15, 2019 · 6 comments
Open

Touch input in retroarch #61

dapetcu21 opened this issue Jun 15, 2019 · 6 comments

Comments

@dapetcu21
Copy link

Retroarch (or X11 for that matter, I guess?) sees the touchscreen as a mouse. Using it as a mouse in retroarch’s interface feels bad. I noticed there’s a “touch input” option in retroarch, but it doesn’t work.

Getting this to work would be a cool quality of life improvement. I’d try to muck around with X11 configs, but Lakka’s file system is read-only.

@natinusala
Copy link

natinusala commented Jun 15, 2019

You can override the xorg config by copying it in /storage/.config/xorg.conf and editing it there.

I agree that having RA see the touch screen as a pointer instead of as a mouse cursor would be better. The menu is not going to be usable (XMB only reacts to mouse input), but cores are going to be better.

Do we care to lose mouse input for the menu? No because mouse input on XMB is bad anyway

@dapetcu21
Copy link
Author

I just realised: There is still a need for mouse input in XMB: The on-screen keyboard (for typing wifi passwords and search queries).

@natinusala
Copy link

Right, I forgot about that

@dapetcu21
Copy link
Author

I tested with xinput test-xi2 and apparently the touchscreen works correctly as far as X11 is concerned (or, at least, it sends touch events). It also works if I set the following in retroarch.cfg (these options are also available through XMB):

menu_mouse_enable = "false"
menu_pointer_enable = "true"

BUT! There's a weird bug where you have to touch twice for the touch to register. The first touch is like a touch down and the second one, if done in the exact same spot registers as a touch up. The same thing happens in both XMB and glui.

@natinusala
Copy link

Hmm, does it come from RetroArch?

@dapetcu21
Copy link
Author

I don't know. I haven't tried running other software that uses the touch screen.

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

2 participants