Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
op_touchscreen: Enable gesture support for AOSPA-based ROMs
Browse files Browse the repository at this point in the history
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
  • Loading branch information
0ctobot committed May 22, 2020
1 parent 5ffb128 commit 0fe8e25
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions drivers/input/oneplus_touchscreen/touchpanel_common_driver.c
Expand Up @@ -60,21 +60,21 @@ static int pointy[2] = { 0, 0 };

#define ABS(a,b) ((a - b > 0) ? a - b : b - a)

static uint8_t DouTap_enable = 0; // double tap
static uint8_t UpVee_enable = 0; // V
static uint8_t DownVee_enable = 0; // ^
static uint8_t LeftVee_enable = 0; // >
static uint8_t RightVee_enable = 0; // <
static uint8_t Circle_enable = 0; // O
static uint8_t DouSwip_enable = 0; // ||
static uint8_t DouTap_enable = 1; // double tap
static uint8_t UpVee_enable = 1; // V
static uint8_t DownVee_enable = 1; // ^
static uint8_t LeftVee_enable = 1; // >
static uint8_t RightVee_enable = 1; // <
static uint8_t Circle_enable = 1; // O
static uint8_t DouSwip_enable = 1; // ||
static uint8_t Left2RightSwip_enable = 0; // -->
static uint8_t Right2LeftSwip_enable = 0; // <--
static uint8_t Up2DownSwip_enable = 0; // |v
static uint8_t Down2UpSwip_enable = 0; // |^
static uint8_t Mgestrue_enable = 0; // M
static uint8_t Wgestrue_enable = 0; // W
static uint8_t Sgestrue_enable = 0; // S
static uint8_t SingleTap_enable = 0; // single tap
static uint8_t Mgestrue_enable = 1; // M
static uint8_t Wgestrue_enable = 1; // W
static uint8_t Sgestrue_enable = 1; // S
static uint8_t SingleTap_enable = 1; // single tap

/*******Part2:declear Area********************************/
static void speedup_resume(struct work_struct *work);
Expand Down

0 comments on commit 0fe8e25

Please sign in to comment.