/[rdesktop]/sourceforge.net/trunk/rdesktop/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 /sourceforge.net/trunk/rdesktop/xkeymap.c

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

revision 963 by astrand, Wed Aug 3 10:56:16 2005 UTC revision 964 by astrand, Wed Aug 3 11:30:53 2005 UTC
# Line 42  extern Display *g_display; Line 42  extern Display *g_display;
42  extern Window g_wnd;  extern Window g_wnd;
43  extern char keymapname[16];  extern char keymapname[16];
44  extern int g_keylayout;  extern int g_keylayout;
45    extern int g_keyboard_type;
46    extern int g_keyboard_subtype;
47    extern int g_keyboard_functionkeys;
48  extern int g_win_button_size;  extern int g_win_button_size;
49  extern BOOL g_enable_compose;  extern BOOL g_enable_compose;
50  extern BOOL g_use_rdp5;  extern BOOL g_use_rdp5;
# Line 341  xkeymap_read(char *mapname) Line 344  xkeymap_read(char *mapname)
344                          continue;                          continue;
345                  }                  }
346    
347                    /* keyboard_type */
348                    if (strncmp(line, "keyboard_type ", sizeof("keyboard_type ")) == 0)
349                    {
350                            g_keyboard_type = strtol(line + sizeof("keyboard_type "), NULL, 16);
351                            DEBUG_KBD(("keyboard_type 0x%x\n", g_keyboard_type));
352                            continue;
353                    }
354    
355                    /* keyboard_subtype */
356                    if (strncmp(line, "keyboard_subtype ", sizeof("keyboard_subtype ")) == 0)
357                    {
358                            g_keyboard_subtype = strtol(line + sizeof("keyboard_subtype "), NULL, 16);
359                            DEBUG_KBD(("keyboard_subtype 0x%x\n", g_keyboard_subtype));
360                            continue;
361                    }
362    
363                    /* keyboard_functionkeys */
364                    if (strncmp(line, "keyboard_functionkeys ", sizeof("keyboard_functionkeys ")) == 0)
365                    {
366                            g_keyboard_functionkeys =
367                                    strtol(line + sizeof("keyboard_functionkeys "), NULL, 16);
368                            DEBUG_KBD(("keyboard_functionkeys 0x%x\n", g_keyboard_functionkeys));
369                            continue;
370                    }
371    
372                  /* Comment */                  /* Comment */
373                  if (line[0] == '#')                  if (line[0] == '#')
374                  {                  {

Legend:
Removed from v.963  
changed lines
  Added in v.964

  ViewVC Help
Powered by ViewVC 1.1.26