mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
configure.ac Makefile.am os/oscolor.c Xext/saver.c Xext/Makefile.am
hw/kdrive/linux/ts.c hw/kdrive/src/Makefile.am hw/kdrive/src/kdrive.h
hw/kdrive/src/kinput.c hw/kdrive/src/kmap.c Autodetect VM86 (for vesa),
AGPGART, APM, MTRR, tslib and handhelds.org touch screen. Add
USE_RGB_BUILTIN and code for fileless RGB database. Add
MIT-SCREEN-SAVER
This commit is contained in:
@@ -36,17 +36,7 @@
|
||||
#include "scrnintstr.h"
|
||||
#include "kdrive.h"
|
||||
#include <sys/ioctl.h>
|
||||
#if 1
|
||||
#include <linux/h3600_ts.h> /* touch screen events */
|
||||
#else
|
||||
/* inline for non-arm debug builds */
|
||||
typedef struct {
|
||||
unsigned short pressure;
|
||||
unsigned short x;
|
||||
unsigned short y;
|
||||
unsigned short pad; /* TODO TODO word boundary pad */
|
||||
} TS_EVENT;
|
||||
#endif
|
||||
|
||||
static long lastx = 0, lasty = 0;
|
||||
|
||||
@@ -104,7 +94,7 @@ TsRead (int tsPort, void *closure)
|
||||
* touch screen, if it is we send absolute coordinates. If not,
|
||||
* then we send delta's so that we can track the entire vga screen.
|
||||
*/
|
||||
if (KdTsCurScreen == KdTsPhyScreen) {
|
||||
if (KdCurScreen == KdTsPhyScreen) {
|
||||
flags = KD_BUTTON_1;
|
||||
x = event.x;
|
||||
y = event.y;
|
||||
|
||||
Reference in New Issue
Block a user