Date: Wed, 28 Apr 2004 17:16:43 -0400 From: David Cohen Subject: Tune for touchscreen and omap keypad support Hi! I am sending to you the patch to add support to nano-X to tune the touchscreen and the kbd_inn.c (just a few changes from kbd_tty.c) to support omap 1510 keypad. This patch is applied to microwindows-0.90 (latest version, released today). On the configuration files (src/Config directory), I just modified the config.innovator to add this changes (lines 329-334): # support to tune the touchscreen driver TUNE_TOUCHSCREEN = Y <-- add support to touchscreen tuning # keyboard or null kbd driver TTYKBD = N INNKBD = Y <-- driver to kbd_inn (omap 1510 keypad) The "tuntouch.c" file was add too. This file is located at src/demos/nanox/ tuntouch.c and get the data needs to tune the touchscreen. How the tuning works? Just execute the tuntouch and follow its instruction to move the pen from center towards left, right, up and down sides of the touchscreen. The nano-X with tuning touchscreen support will search for tuntouch.conf created for tuntouch program and fix the resolution of the touchscreen to be the same of the screen. BR, David Cohen 10LE Team, INdT (Nokia Institute of Tecnology) attachment; filename="patch-microwindows-0.90-tuntouch-innkbd"