Configure D-Pad
#14
Further searching reveals that the kernel has a driver “gpio_mouse”, and I assume I must substitute “gpio_keys” in the “compatible = “gpio_keys”” section of the DTS file, then configure the GPIO lines accordingly...

I’ve found the “gpio_mouse” driver at:
https://git.kernel.org/pub/scm/linux/ker...io_mouse.c

But am unsure exactly how to modify the DTS file so that gpio pins 6, 5, 4 and 17 control mouse movement, pins 16 and 24 are left and right mouse clicks, and the rest of the pins are key presses as in your original DTS file Flavor.

Any help with how to do this would be much appreciated!!!
Reply


Messages In This Thread
Configure D-Pad - by billsuncle - 11-06-2019, 07:11 PM
RE: Configure D-Pad - by Porcinus - 11-06-2019, 08:21 PM
RE: Configure D-Pad - by Porcinus - 11-06-2019, 08:24 PM
RE: Configure D-Pad - by billsuncle - 11-06-2019, 11:00 PM
RE: Configure D-Pad - by Porcinus - 11-07-2019, 03:59 AM
RE: Configure D-Pad - by Flavor - 11-07-2019, 04:05 AM
RE: Configure D-Pad - by Porcinus - 11-08-2019, 03:03 AM
RE: Configure D-Pad - by Flavor - 11-08-2019, 03:32 AM
RE: Configure D-Pad - by Porcinus - 11-09-2019, 12:37 AM
RE: Configure D-Pad - by Flavor - 11-09-2019, 01:26 AM
RE: Configure D-Pad - by billsuncle - 11-10-2019, 09:36 PM
RE: Configure D-Pad - by Porcinus - 11-12-2019, 05:34 PM
RE: Configure D-Pad - by billsuncle - 11-22-2019, 11:16 AM
RE: Configure D-Pad - by billsuncle - 11-22-2019, 01:42 PM
RE: Configure D-Pad - by billsuncle - 11-25-2019, 05:12 PM
RE: Configure D-Pad - by Porcinus - 11-25-2019, 05:39 PM
RE: Configure D-Pad - by billsuncle - 11-25-2019, 07:40 PM
RE: Configure D-Pad - by Porcinus - 11-25-2019, 07:49 PM
RE: Configure D-Pad - by billsuncle - 11-25-2019, 11:54 PM
RE: Configure D-Pad - by Porcinus - 11-26-2019, 01:07 AM
RE: Configure D-Pad - by billsuncle - 11-26-2019, 01:16 AM
RE: Configure D-Pad - by Porcinus - 11-26-2019, 01:20 AM
RE: Configure D-Pad - by billsuncle - 11-26-2019, 01:32 AM
RE: Configure D-Pad - by Porcinus - 11-26-2019, 01:36 AM
RE: Configure D-Pad - by billsuncle - 11-26-2019, 01:48 AM
RE: Configure D-Pad - by Porcinus - 11-26-2019, 06:14 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)