[PATCH] input/iforce: Remove the BTN_DEAD assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The nonexistent button assigned as BTN_DEAD is constantly
creating false inputs, making the task of (as an example)
assigning controls unnecessarily hard.

Signed-off-by: Tim Schumacher <timschumi@xxxxxx>
---
 drivers/input/joystick/iforce/iforce-main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/joystick/iforce/iforce-main.c b/drivers/input/joystick/iforce/iforce-main.c
index 054abed0fdc1..a4ab58633136 100644
--- a/drivers/input/joystick/iforce/iforce-main.c
+++ b/drivers/input/joystick/iforce/iforce-main.c
@@ -388,7 +388,6 @@ int iforce_init_device(struct iforce *iforce)
 
 	for (i = 0; iforce->type->btn[i] >= 0; i++)
 		set_bit(iforce->type->btn[i], input_dev->keybit);
-	set_bit(BTN_DEAD, input_dev->keybit);
 
 	for (i = 0; iforce->type->abs[i] >= 0; i++) {
 
-- 
2.18.0

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux