void input_internal_key(const char *key) { if (is_menu_key(key) || screenlist_current() == menuscreen) { menuscreen_key_handler(key); } else { /* Keys are for scrolling or rotating */ if (strcmp(key,toggle_rotate_key) == 0) { autorotate = !autorotate; if (autorotate) { server_msg("Rotate", 4); } else { server_msg("Hold", 4); } } else if (strcmp(key,prev_screen_key) == 0) { screenlist_goto_prev(); server_msg("Prev", 4); } else if (strcmp(key,next_screen_key) == 0) { screenlist_goto_next(); server_msg("Next", 4); } else if (strcmp(key,scroll_up_key) == 0) { } else if (strcmp(key,scroll_down_key) == 0) { } } }
int DEFAULT_CC lib_userChannel_server_msg(struct xrdp_mod* mod, char* msg, int code) { if (u) { server_msg(u, msg, code); } return 0; }