Originally Posted By: jonshouse
Quote:
echo 'BUTTONRAW=0x00000006' > /proc/empeg_notify
# wait a second or so, then release it:
echo 'BUTTONRAW=0x00000006.R' > /proc/empeg_notify


Oh, OK .... I assumed (incorrectly) that as 0x000006 (push in) is followed by 0x000007 (release) that the application itself timed the perioud inbetween !


Eh? YES, the application DOES have to time the period between. So press the button (BUTTONRAW=0x00000006), delay for however long you want to keep it pressed, and then release the button (BUTTONRAW=0x00000006.R).

If you just want a regular short-press (tap, single click) of a button, then let Hijack do it for you:

echo 'BUTTON=0x00000006' > /proc/empeg_notify ## combined press/release