WangHan - 2013-12-11

The demo events.c:

glfwSetKeyCallback(window, key_callback);

When I ordered the left key of mouse, and then move the mouse, then release the mouse,then this function will also play a role.I think is a bug.

then I have debug this func,this is the results :

if (key==345&&scancode==29&&action==1&&mods==2)
    return;
if (key==345&&scancode==29&&action==0&&mods==0)
    return;
if (key==345&&scancode==0&&action==0&&mods==0)
    return;
if (key==67&&scancode==46&&action==1&&mods==2)
    return;
if (key==67&&scancode==46&&action==0&&mods==2)
    return;
 
Last edit: WangHan 2013-12-11