E2 alternative to Adv. Input

Hello,
I’m looking for an alternative to Advanced Input in the form of an Expression. Basically it would do the same, only it could be controlled by any input type(Buttons, Adv. Pod Controller etc.)
I’d be grateful for any help…

Edit:
Nevermind, I found out howto by myself…

For anyone else looking for this… I’m sure I’ve made one and put it somewhere here:
http://www.facepunch.com/showthread.php?t=765410