Okay. Using button names, I can do variable length presses, like this:

echo 'BUTTONRAW=Bottom' > /proc/empeg_notify
# wait a second or so, then release it:
echo 'BUTTONRAW=Bottom.R' > /proc/empeg_notify


Getting that far required me to realize I named the "down" button "Bottom", not "Down". smile

I'll try hex next.