Lines Matching refs:mod
83 static void tweak_mod(signed char mod, rfbBool down);
1507 fprintf(stderr, " %03d G%d L%d mod=%s ",
1727 fprintf(stderr, " --- current mod state:\n"); \
2131 fprintf(stderr, " +++ needmods: mod=%d is "
2141 fprintf(stderr, " +++ needmods: mod=%d %s "
2215 fprintf(stderr, " === for mod=%s "
2287 /* do the Mod ups */
2295 /* next, do the Mod downs */
2325 /* reverse Mod downs we did */
2334 /* finally reverse the Mod ups we did */
2604 static void tweak_mod(signed char mod, rfbBool down) {
2611 if (mod < 0) {
2614 (int) mod);
2620 " is_shift=%d\n", down, (int) mod, (int) mod_state,
2629 if (is_shift && mod != 1) {
2637 if ( ! is_shift && mod == 1 ) {
2640 if ( altgr && (mod_state & ALTGR) && mod != 2 ) {
2643 if ( altgr && ! (mod_state & ALTGR) && mod == 2 ) {
2650 " is_shift=%d\n", down, (int) mod, (int) mod_state,