that is my code for getting the first key pressed. but lines before this never run because a key always is in buffer & i want to flush the keyboard before this line.
m=Input.KEYPAD;
if(m>-1){
...
Type: Posts; User: zara-t
that is my code for getting the first key pressed. but lines before this never run because a key always is in buffer & i want to flush the keyboard before this line.
m=Input.KEYPAD;
if(m>-1){
...
hi,
i write a program that management the input ( from keyboard) but my keyboard buffer is full & even keys pressed for install app is in buffer.So i have to flush the keyboard buffer in java & i do...