move keypress() from keyboard to gChannel