From 4e9d7cbedad55b38f26736f87d26137526f06671 Mon Sep 17 00:00:00 2001 From: yanhaodong Date: Fri, 8 Aug 2025 16:46:01 +0800 Subject: [PATCH] k1: input: remove PEN event for libinput Change-Id: I8984943d9ba2ebd5b45e5b81e09a603b548c4e6b Signed-off-by: yanhaodong --- drivers/input/touchscreen/gt9xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/touchscreen/gt9xx.c b/drivers/input/touchscreen/gt9xx.c index 53d19d1c7b14..59ef121b67b2 100644 --- a/drivers/input/touchscreen/gt9xx.c +++ b/drivers/input/touchscreen/gt9xx.c @@ -1542,9 +1542,6 @@ static s8 gtp_request_input_dev(struct goodix_ts_data *ts) dev_info(&ts->client->dev, "Use type A report protocol\n"); } - input_set_capability(ts->input_dev, EV_KEY, GTP_PEN_BUTTON1); - input_set_capability(ts->input_dev, EV_KEY, GTP_PEN_BUTTON2); - /* touch key register */ for (index = 0; index < ts->pdata->key_nums; index++) input_set_capability(ts->input_dev, EV_KEY,