Fix keyboard_check-direct with reverse map and changes by Josh