Or you could just use ir_translate so that long presses aren't required at all....no double clickery required.

EDIT: Ah...nevermind...I get what you're trying to do...get two functions per steering wheel button.