forked from notro/fbtft
-
Notifications
You must be signed in to change notification settings - Fork 2
LCD Shields
notro edited this page Jun 27, 2013
·
11 revisions
Product page: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=43286
Product page: http://imall.iteadstudio.com/im130425001.html
Forum post: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=64&t=43702
It's not possible to use the touch panel as a Linux mouse with this adapter. The Touch IC is not wired to the Raspberry Pi SPI bus.
Product page: http://electronics.ilsoft.co.uk/PiShield.aspx
With the next image, the following will be possible:
This shield has a joyswitch, and it can be used as a mouse or as a "keyboard". Since the shield doesn't have pullup resistors, we use the internal ones.
Mouse
sudo modprobe gpio_mouse
sudo modprobe gpio_mouse_device verbose=1 pullup polarity=1 up=23 down=17 left=18 right=21 bleft=22
FRAMEBUFFER=/dev/fb1 startx
Keyboard, arrow keys and Enter key
sudo modprobe gpio_keys
sudo modprobe gpio_keys_device verbose=1 pullup active_low keys=23:103,17:108,18:105,21:106,22:28
This keyboard can be used with AdvanceMAME. Set in advance.rc
device_keyboard raw