diff --git a/data/99-gpd-pocket3-touch.rules b/data/99-gpd-pocket3-touch.rules index 14d3633..22c3bde 100644 --- a/data/99-gpd-pocket3-touch.rules +++ b/data/99-gpd-pocket3-touch.rules @@ -1,2 +1,4 @@ ACTION=="add", KERNEL=="event[0-9]*", ATTRS{name}=="GXTP7380:00 27C6:0113", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1" ACTION=="add", KERNEL=="event[0-9]*", ATTRS{name}=="GXTP7380:00 27C6:0113 Stylus", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1" +ACTION=="add", KERNEL=="event[0-9]*", ATTRS{name}=="GXTP7380:00 27C6:0113 Stylus Pen (0)", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1" +ACTION=="add", KERNEL=="event[0-9]*", ATTRS{name}=="GXTP7380:00 27C6:0113 Stylus Eraser (0)", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1" diff --git a/data/umpc-display-rotate.c b/data/umpc-display-rotate.c index 164aa30..1832416 100644 --- a/data/umpc-display-rotate.c +++ b/data/umpc-display-rotate.c @@ -43,13 +43,15 @@ static const char *transforms[] = { static const char touchy[][48] = { "GXTP7380:00 27C6:0113", //GPD Pocket 3 + "GXTP7380:00 27C6:0113 Stylus", //GPD Pocket 3 "GXTP7380:00 27C6:0113 Stylus Pen (0)", //GPD Pocket 3 "GXTP7380:00 27C6:0113 Stylus Eraser (0)", //GPD Pocket 3 "Goodix Capacitive TouchScreen" //TopJoy Falcon }; static const char screens[][8] = { - "DSI1" //GPD Pocket 3 & TopJoy Falcon + "DSI1", //GPD Pocket 3 & TopJoy Falcon + "DSI-1" //GPD Pocket 3 & TopJoy Falcon }; #define RADIANS_TO_DEGREES 180.0/M_PI