Hi, > Which means that a joystick mouse will cause similar problems. Maybe the best > workaround for the application is indeed to clear the keyboard buffer after > mouse actions? Maybe I don't understand this proposal correctly but it seems to me that it will cause loosing keyborad strokes. When the user interacts with the program it can't know when the user uses the keyboard and when he uses the mouse. So I don't see "one thing after the other". Below are some parts from the relevant code. Where could a keyboard buffer clearing be inserted? Best, Oliver while(1) { ... if(ctk_mouse_button() != mouse_button) { mouse_button = ctk_mouse_button(); mouse_button_changed = 1; if(mouse_button == 0) { mouse_clicked = 1; } } ... if(mouse_clicked) { ... } ... while(ctk_arch_keyavail()) { c = ctk_arch_getkey(); ... } .... } ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Feb 3 08:14:52 2010
This archive was generated by hypermail 2.1.8 : 2010-02-03 08:14:54 CET