summaryrefslogtreecommitdiff
path: root/openembedded/packages/tslib/tslib/c7x0/tslib.sh
blob: dc7484cada94accf67dc9555a20b5142ec815a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

case `uname -r` in
2.4*)
	TSLIB_TSDEVICE=/dev/ts
	TSLIB_TSEVENTTYPE=CORGI
	TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4
	;;
*)
	TSLIB_TSDEVICE=/dev/input/event1
	TSLIB_TSEVENTTYPE=INPUT
	TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi
	;;
esac

export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE TSLIB_CONFFILE