I never tried sending ALT+ or SHIFT+ with my send_keys macro. Sorry! Until I can fix it, use this script for NEXTR.sh or whatever key combo you want to map:
Code:
echo "sendalt 34">/proc/keypad
I think it will work without waiting at all, but if it doesn't, try:
Code:
send_keys WAIT
echo "sendalt 34">/proc/keypad
I must say it is nice that we have the kernel modules source code, so it is easier to figure these things out.