Re: Simple AT91SAM9260 Driver | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
hi, > if you want to interface your buttons with userland applications, you > may be interested in interfacing your driver with input layer to send > input events (keypress for example) to your application. If you have a newish kernel (after 18/01/2007), there is a GPIO keyboard drivers for platforms that support the generic-GPIO interface in drivers/input/keyboard/gpio_keys.c Just register a "gpio-keys" platform device, with the correct platform_data for your board and it "should just work". Regards, Andrew Victor ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]