[Input] Handle special 'keyboard' and 'mouse' values