diff options
Diffstat (limited to 'drivers/ginput/touch')
10 files changed, 37 insertions, 37 deletions
diff --git a/drivers/ginput/touch/FT5336/gmouse_lld_FT5336_board_template.h b/drivers/ginput/touch/FT5336/gmouse_lld_FT5336_board_template.h index 1daa0b1e..fb3a8b52 100644 --- a/drivers/ginput/touch/FT5336/gmouse_lld_FT5336_board_template.h +++ b/drivers/ginput/touch/FT5336/gmouse_lld_FT5336_board_template.h @@ -19,11 +19,11 @@ // How much extra data to allocate at the end of the GMouse structure for the board's use #define GMOUSE_FT5336_BOARD_DATA_SIZE 0 -// Set this to TRUE if you want self-calibration. +// Set this to GFXON if you want self-calibration. // NOTE: This is not as accurate as real calibration. // It requires the orientation of the touch panel to match the display. // It requires the active area of the touch panel to exactly match the display size. -#define GMOUSE_FT5336_SELF_CALIBRATE FALSE +#define GMOUSE_FT5336_SELF_CALIBRATE GFXOFF static bool_t init_board(GMouse* m, unsigned instance) { diff --git a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h index 9042f893..728fa695 100644 --- a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h +++ b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h @@ -19,11 +19,11 @@ // How much extra data to allocate at the end of the GMouse structure for the board's use #define GMOUSE_FT5x06_BOARD_DATA_SIZE 0 -// Set this to TRUE if you want self-calibration. +// Set this to GFXON if you want self-calibration. // NOTE: This is not as accurate as real calibration. // It requires the orientation of the touch panel to match the display. // It requires the active area of the touch panel to exactly match the display size. -#define GMOUSE_FT5x06_SELF_CALIBRATE FALSE +#define GMOUSE_FT5x06_SELF_CALIBRATE GFXOFF static bool_t init_board(GMouse* m, unsigned driverinstance) { } diff --git a/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06_board_template.h b/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06_board_template.h index 7c0b6663..85b54652 100644 --- a/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06_board_template.h +++ b/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06_board_template.h @@ -19,11 +19,11 @@ // How much extra data to allocate at the end of the GMouse structure for the board's use #define GMOUSE_FT6x06_BOARD_DATA_SIZE 0 -// Set this to TRUE if you want self-calibration. +// Set this to GFXON if you want self-calibration. // NOTE: This is not as accurate as real calibration. // It requires the orientation of the touch panel to match the display. // It requires the active area of the touch panel to exactly match the display size. -#define GMOUSE_FT6x06_SELF_CALIBRATE FALSE +#define GMOUSE_FT6x06_SELF_CALIBRATE GFXOFF static bool_t init_board(GMouse* m, unsigned driverinstance) { } diff --git a/drivers/ginput/touch/Linux-Event/gmouse_lld_linux_event_board_template.h b/drivers/ginput/touch/Linux-Event/gmouse_lld_linux_event_board_template.h index c6bf5a7b..9f3acdd3 100644 --- a/drivers/ginput/touch/Linux-Event/gmouse_lld_linux_event_board_template.h +++ b/drivers/ginput/touch/Linux-Event/gmouse_lld_linux_event_board_template.h @@ -21,12 +21,12 @@ // The linux device input used for touchscreen #define GMOUSE_LINUX_EVENT_DEVICE "/dev/input/event0" -// Set this to TRUE if you want self-calibration. +// Set this to GFXON if you want self-calibration. // NOTE: This is not as accurate as real calibration. // It requires the orientation of the touch panel to match the display. // It requires the active area of the touch panel to exactly match the display size. -#define GMOUSE_LINUX_EVENT_SELF_CALIBRATE FALSE +#define GMOUSE_LINUX_EVENT_SELF_CALIBRATE GFXOFF -#define GMOUSE_LINUX_EVENT_FINGERMODE TRUE +#define GMOUSE_LINUX_EVENT_FINGERMODE GFXON #endif /* _GINPUT_LLD_MOUSE_BOARD_H */ diff --git a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c index 2eb8f429..896074b9 100644 --- a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c +++ b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c @@ -20,13 +20,13 @@ // Extra settings for the users gfxconf.h file. See readme.txt #ifndef GMOUSE_STMPE610_SELF_CALIBRATE - #define GMOUSE_STMPE610_SELF_CALIBRATE FALSE + #define GMOUSE_STMPE610_SELF_CALIBRATE GFXOFF #endif #ifndef GMOUSE_STMPE610_READ_PRESSURE - #define GMOUSE_STMPE610_READ_PRESSURE FALSE + #define GMOUSE_STMPE610_READ_PRESSURE GFXOFF #endif #ifndef GMOUSE_STMPE610_TEST_MODE - #define GMOUSE_STMPE610_TEST_MODE FALSE + #define GMOUSE_STMPE610_TEST_MODE GFXOFF #endif /** diff --git a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h index f426176d..14917e53 100644 --- a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h +++ b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h @@ -20,18 +20,18 @@ #define GMOUSE_STMPE610_BOARD_DATA_SIZE 0 // Options - Leave these commented to make it user configurable in the gfxconf.h -//#define GMOUSE_STMPE610_READ_PRESSURE FALSE -//#define GMOUSE_STMPE610_SELF_CALIBRATE FALSE -//#define GMOUSE_STMPE610_TEST_MODE FALSE +//#define GMOUSE_STMPE610_READ_PRESSURE GFXOFF +//#define GMOUSE_STMPE610_SELF_CALIBRATE GFXOFF +//#define GMOUSE_STMPE610_TEST_MODE GFXOFF -// If TRUE this board has the STMPE610 IRQ pin connected to a GPIO. -// Note: For tested hardware this is unreliable and should be set to FALSE until tested. +// If GFXON this board has the STMPE610 IRQ pin connected to a GPIO. +// Note: For tested hardware this is unreliable and should be set to GFXOFF until tested. // Symptoms are that mouse readings just appear to stop for a bit. Lifting the touch // and re-applying the touch cause readings to start again. -#define GMOUSE_STMPE610_GPIO_IRQPIN FALSE +#define GMOUSE_STMPE610_GPIO_IRQPIN GFXOFF -// If TRUE this is a really slow CPU and we should always clear the FIFO between reads. -#define GMOUSE_STMPE610_SLOW_CPU FALSE +// If GFXON this is a really slow CPU and we should always clear the FIFO between reads. +#define GMOUSE_STMPE610_SLOW_CPU GFXOFF static bool_t init_board(GMouse* m, unsigned driverinstance) { } diff --git a/drivers/ginput/touch/STMPE610/readme.txt b/drivers/ginput/touch/STMPE610/readme.txt index 03ff9019..a89b63de 100644 --- a/drivers/ginput/touch/STMPE610/readme.txt +++ b/drivers/ginput/touch/STMPE610/readme.txt @@ -1,11 +1,11 @@ This driver has a number of optional settings which can be specified in gfxconf.h: -#define GMOUSE_STMPE610_READ_PRESSURE TRUE +#define GMOUSE_STMPE610_READ_PRESSURE GFXON Returns pressure values when the touch is down. On tested boards this ranges from 90 to 150. 255 is touch off. -#define GMOUSE_STMPE610_SELF_CALIBRATE TRUE +#define GMOUSE_STMPE610_SELF_CALIBRATE GFXON Scale the touch readings to avoid calibration. This is not as accurate as real calibration. -#define GMOUSE_STMPE610_TEST_MODE TRUE +#define GMOUSE_STMPE610_TEST_MODE GFXON Return raw readings for diagnostic use with the "touch_raw_readings" tool. diff --git a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c index 8cb1b70e..90496b29 100644 --- a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c +++ b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c @@ -20,13 +20,13 @@ // Extra settings for the users gfxconf.h file. See readme.txt #ifndef GMOUSE_STMPE811_SELF_CALIBRATE - #define GMOUSE_STMPE811_SELF_CALIBRATE FALSE + #define GMOUSE_STMPE811_SELF_CALIBRATE GFXOFF #endif #ifndef GMOUSE_STMPE811_READ_PRESSURE - #define GMOUSE_STMPE811_READ_PRESSURE FALSE + #define GMOUSE_STMPE811_READ_PRESSURE GFXOFF #endif #ifndef GMOUSE_STMPE811_TEST_MODE - #define GMOUSE_STMPE811_TEST_MODE FALSE + #define GMOUSE_STMPE811_TEST_MODE GFXOFF #endif /** diff --git a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h index 0b307ed2..fb979f8b 100644 --- a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h +++ b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h @@ -20,18 +20,18 @@ #define GMOUSE_STMPE811_BOARD_DATA_SIZE 0 // Options - Leave these commented to make it user configurable in the gfxconf.h -//#define GMOUSE_STMPE811_READ_PRESSURE FALSE -//#define GMOUSE_STMPE811_SELF_CALIBRATE FALSE -//#define GMOUSE_STMPE811_TEST_MODE FALSE +//#define GMOUSE_STMPE811_READ_PRESSURE GFXOFF +//#define GMOUSE_STMPE811_SELF_CALIBRATE GFXOFF +//#define GMOUSE_STMPE811_TEST_MODE GFXOFF -// If TRUE this board has the STMPE811 IRQ pin connected to a GPIO. -// Note: For tested hardware this is unreliable and should be set to FALSE until tested. +// If GFXON this board has the STMPE811 IRQ pin connected to a GPIO. +// Note: For tested hardware this is unreliable and should be set to GFXOFF until tested. // Symptoms are that mouse readings just appear to stop for a bit. Lifting the touch // and re-applying the touch cause readings to start again. -#define GMOUSE_STMPE811_GPIO_IRQPIN FALSE +#define GMOUSE_STMPE811_GPIO_IRQPIN GFXOFF -// If TRUE this is a really slow CPU and we should always clear the FIFO between reads. -#define GMOUSE_STMPE811_SLOW_CPU FALSE +// If GFXON this is a really slow CPU and we should always clear the FIFO between reads. +#define GMOUSE_STMPE811_SLOW_CPU GFXOFF static bool_t init_board(GMouse* m, unsigned driverinstance) { } diff --git a/drivers/ginput/touch/STMPE811/readme.txt b/drivers/ginput/touch/STMPE811/readme.txt index 60d7f603..250dd844 100644 --- a/drivers/ginput/touch/STMPE811/readme.txt +++ b/drivers/ginput/touch/STMPE811/readme.txt @@ -1,11 +1,11 @@ This driver has a number of optional settings which can be specified in gfxconf.h: -#define GMOUSE_STMPE811_READ_PRESSURE TRUE +#define GMOUSE_STMPE811_READ_PRESSURE GFXON Returns pressure values when the touch is down. On tested boards this ranges from 90 to 150. 255 is touch off. -#define GMOUSE_STMPE811_SELF_CALIBRATE TRUE +#define GMOUSE_STMPE811_SELF_CALIBRATE GFXON Scale the touch readings to avoid calibration. This is not as accurate as real calibration. -#define GMOUSE_STMPE811_TEST_MODE TRUE +#define GMOUSE_STMPE811_TEST_MODE GFXON Return raw readings for diagnostic use with the "touch_raw_readings" tool. |