I used the Sidewinder X6 but you should be able to use any Microsoft keyboard with macro keys. You should be able to follow these general steps to make macro...
How to use the Microsoft Keyboard Macro Software
OBDII OBD2 Android Tablet Demo - Bluetooth Interface
My Computer Setup (5-15-2012)
My Computer Setup (9-12-2011)