Is there a reason why you need to worry about Shift-tab and tab key presses? I haven't found anything about a keycode being sent for Shift-tab, so you might have to just put up with that default...