426 |
|
|
427 |
if (lispy_function_keys[event->wVirtualKeyCode] == 0) |
if (lispy_function_keys[event->wVirtualKeyCode] == 0) |
428 |
{ |
{ |
429 |
emacs_ev->kind = ascii_keystroke; |
emacs_ev->kind = ASCII_KEYSTROKE_EVENT; |
430 |
|
|
431 |
if (!NILP (Vw32_recognize_altgr) |
if (!NILP (Vw32_recognize_altgr) |
432 |
&& (event->dwControlKeyState & LEFT_CTRL_PRESSED) |
&& (event->dwControlKeyState & LEFT_CTRL_PRESSED) |
468 |
} |
} |
469 |
else |
else |
470 |
{ |
{ |
471 |
emacs_ev->kind = non_ascii_keystroke; |
emacs_ev->kind = NON_ASCII_KEYSTROKE_EVENT; |
472 |
XSETINT (emacs_ev->code, event->wVirtualKeyCode); |
XSETINT (emacs_ev->code, event->wVirtualKeyCode); |
473 |
} |
} |
474 |
|
|
584 |
if (event->dwButtonState == button_state) |
if (event->dwButtonState == button_state) |
585 |
return 0; |
return 0; |
586 |
|
|
587 |
emacs_ev->kind = mouse_click; |
emacs_ev->kind = MOUSE_CLICK_EVENT; |
588 |
|
|
589 |
/* Find out what button has changed state since the last button event. */ |
/* Find out what button has changed state since the last button event. */ |
590 |
but_change = button_state ^ event->dwButtonState; |
but_change = button_state ^ event->dwButtonState; |