/[rdesktop]/jpeg/rdesktop/trunk/xkeymap.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/xkeymap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by astrand, Wed Jul 31 06:49:34 2002 UTC revision 111 by astrand, Sun Sep 1 12:03:33 2002 UTC
# Line 247  xkeymap_translate_key(KeySym keysym, uns Line 247  xkeymap_translate_key(KeySym keysym, uns
247                  return tr;                  return tr;
248          }          }
249    
250          printf("No translation for (keysym 0x%lx, %s)\n", keysym, get_ksname(keysym));          fprintf(stderr, "No translation for (keysym 0x%lx, %s)\n", keysym, get_ksname(keysym));
251    
252          /* not in keymap, try to interpret the raw scancode */          /* not in keymap, try to interpret the raw scancode */
253          if ((keycode >= min_keycode) && (keycode <= 0x60))          if ((keycode >= min_keycode) && (keycode <= 0x60))
254          {          {
255                  tr.scancode = keycode - min_keycode;                  tr.scancode = keycode - min_keycode;
256                  printf("Sending guessed scancode 0x%x\n", tr.scancode);                  fprintf(stderr, "Sending guessed scancode 0x%x\n", tr.scancode);
257          }          }
258          else          else
259          {          {
260                  printf("No good guess for keycode 0x%x found\n", keycode);                  fprintf(stderr, "No good guess for keycode 0x%x found\n", keycode);
261          }          }
262    
263          return tr;          return tr;

Legend:
Removed from v.85  
changed lines
  Added in v.111

  ViewVC Help
Powered by ViewVC 1.1.26