对输入不同的键响应不同的信息 如:shift,ctrl,shift+b,crtl+a,up static char *textbuf[]={ "you had hitted Up key", "you had hitted Shift key", "you had hitted Ctrl key", "you had hitted Shift+B key", "you had hitted Ctrl+A key", " " };