[Experiment] Touchscreen calibration settings that work in Pixel Desktop (Raspbian) doesn't work in Retropie..
-
Hi all,
I recently bought a Raspberry Pi 3 and a 5-inch LCD display with resistive touch.
The touch display uses XPT2046 touch controller, so I installed some set of touch drivers and calibration application in the Pixel Desktop (Raspbian) which I installed separately, and checked that the touch function works fine for all of the surface of the display in the Pixel Desktop.
Here is the link that I looked at to install touch drivers: https://www.raspberrypi.org/forums/viewtopic.php?t=143581
However, when I tried to do some touch operation in Drastic in Emulationstation, I found that touch with a stylus actually works in the game display, but the calibration is somewhat messed up.
Is there any methods to apply the SAME calibration settings with the Pixel Desktop, so that touch in a certain position of the display may work in the exact same way as in Pixel Desktop?
Sample touchscreen calibration settings using xinput_calibrator:
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "3853 170 288 3796"
Option "SwapAxes" "1"
EndSection -
@felixlee0530 said in [Experiment] Touchscreen calibration settings that work in Pixel Desktop (Raspbian) doesn't work in Retropie..:
However, when I tried to do some touch operation in Drastic in Emulationstation, I found that touch with a stylus actually works in the game display, but the calibration is somewhat messed up.
DraStic is not written to support absolute pointer coordinates. Unfortunately, it only supports relative mouse coordinates, which will allow the touchscreen to work, but you'll always have to drag the cursor around to get it where you want it.
-
This post is deleted! -
@mediamogul said in [Experiment] Touchscreen calibration settings that work in Pixel Desktop (Raspbian) doesn't work in Retropie..:
@felixlee0530 said in [Experiment] Touchscreen calibration settings that work in Pixel Desktop (Raspbian) doesn't work in Retropie..:
However, when I tried to do some touch operation in Drastic in Emulationstation, I found that touch with a stylus actually works in the game display, but the calibration is somewhat messed up.
DraStic is not written to support absolute pointer coordinates. Unfortunately, it only supports relative mouse coordinates, which will allow the touchscreen to work, but you'll always have to drag the cursor around to get it where you want it.
Are there other alternatives of Drastic in Emulation Station that support touch calibration?
-
I'm afraid not. There's lr-desmume, but I don't believe it supports pointer input either. Even if it did, it really doesn't run any games past a few frames per second on the Pi.
-
@mediamogul said in [Experiment] Touchscreen calibration settings that work in Pixel Desktop (Raspbian) doesn't work in Retropie..:
I'm afraid not. There's lr-desmume, but I don't believe it supports pointer input either. Even if it did, it really doesn't run any games past a few frames per second on the Pi.
Yeah.. I guess.. but Desmume actually runs Pokemon Platinum quite well, maintaining 100% speed.
-
Good to know. I tried a handful of games a while back and didn't have any luck myself, but it makes sense that some of the less demanding games would be playable. What kind of frame rates were you getting?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.