![]() |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
I need this also for my other project to get interrupt from proximity sensor. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
However, from reading in the source it seems like the toh-event driver only handles gpio_cover/irq_cover for attaching/detaching TOH at the moment. The cover_irq/irq_int is not registered to an interrupt handler... I guess they did not do it yet as you probably want some way to control whether you want to get a falling or rising edge or both as an interrupt. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
# Export INT gpio 67 to the sysfs echo 67 > /sys/class/gpio/export # Configure INT gpio67 to generate events on falling edge. echo falling > /sys/class/gpio/gpio67/edge # Check current value cat /sys/class/gpio/gpio67/value Then you can use poll() to get notified of events. Use POLLPRI event type. Hope this helps. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
@dirkvl - i will code later, i'll send you updated daemon and app. |
| All times are GMT. The time now is 00:55. |
vBulletin® Version 3.8.8