This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
gpio_mouse_device
notro edited this page Jun 27, 2013
·
3 revisions
gpio_mouse_device is a kernel module for registering a gpio_mouse device.
modprobe gpio_mouse_device up=GPIO down=GPIO left=GPIO right=GPIO bleft=GPIO
-
up (required)
GPIO line for up value -
down (required)
GPIO line for down value -
left (required)
GPIO line for left value -
right (required)
GPIO line for right value -
bleft (required)
GPIO line for left button button -
bmiddle
GPIO line for middle button -
bright
GPIO line for right button -
scan_ms
integer in ms specifying the scan periode (default=10) -
polarity
Pin polarity, active high or low (default=0 high) -
pullup
Enable internal pull up resistor for all (only on Raspberry Pi) -
pulldown
Enable internal pull down resistor for all (only on Raspberry Pi) -
verbose
0 - silent (default)
1 - print values to kernel log
2 - more output
Switches is active LOW and uses the internal pullup resistors
modprobe gpio_mouse_device pullup polarity=1 up=23 down=17 left=18 right=21 bleft=22