Right, I can do my own timing delays, but there was already a facility in the kernel for sending long presses, (letting the kernel handle the timing) provided you use the empeg_notify interface. My hope was, that if it wasn't too much work, we could expose that same facility to the INJECTBUTTONS call, but the quick fix appears not to work, and seems to conflict with ir_translate stuff.

I just tried sending:
Code:
{3, IR_RIO_INFO_PRESSED | BUTTON_FLAGS_LONGPRESS, IR_RIO_INFO_RELEASED};


with a stock v508 kernel and one with the patch above, both to no avail. I guess I'll just handle the timing myself for now.
_________________________
- Tony C
my empeg stuff