495 |
static void |
static void |
496 |
reset_winkey(uint32 ev_time) |
reset_winkey(uint32 ev_time) |
497 |
{ |
{ |
498 |
|
printf("reset_winkey\n"); |
499 |
if (g_use_rdp5) |
if (g_use_rdp5) |
500 |
{ |
{ |
501 |
/* For some reason, it seems to suffice to release |
/* For some reason, it seems to suffice to release |
953 |
|
|
954 |
if (g_numlock_sync) |
if (g_numlock_sync) |
955 |
rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0); |
rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0); |
956 |
|
|
957 |
|
//sleep(4); |
958 |
|
//rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYPRESS, 0x9c, 0); |
959 |
|
//rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYRELEASE, 0x9c, 0); |
960 |
} |
} |
961 |
|
|
962 |
|
|