495 |
static void |
static void |
496 |
reset_winkey(uint32 ev_time) |
reset_winkey(uint32 ev_time) |
497 |
{ |
{ |
|
printf("reset_winkey\n"); |
|
498 |
if (g_use_rdp5) |
if (g_use_rdp5) |
499 |
{ |
{ |
500 |
/* For some reason, it seems to suffice to release |
/* For some reason, it seems to suffice to release |
952 |
|
|
953 |
if (g_numlock_sync) |
if (g_numlock_sync) |
954 |
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); |
|
|
|
|
//sleep(4); |
|
|
//rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYPRESS, 0x9c, 0); |
|
|
//rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYRELEASE, 0x9c, 0); |
|
955 |
} |
} |
956 |
|
|
957 |
|
|