make F7,F8,F9 work in input mode