[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: german keyboard



will this patch work on Norwegian keyboard also here also the same thing Alt
Gr not working
regards
yunus
----- Original Message -----
From: "Kai Schmidt" <Kai.Schmidt@kais.de>
To: <j.prahm@t-online.de>
Cc: <rdesktop@rdesktop.org>
Sent: Sunday, October 07, 2001 10:13 PM
Subject: Re: german keyboard


>
> ----- Original Message -----
> From: "Jens Prahm" <j.prahm@t-online.de>
> To: "Rdesktop (E-Mail)" <rdesktop@rdesktop.org>
> Sent: Sunday, October 07, 2001 9:37 AM
> Subject: german keyboard
>
>
> Hello,
>
> I just applied the patch of Jens Prahm to rdesktop 1.1.0 and I am happy to
> confirm, that my german keyboard now works fine with the "Alt Gr" keys
> (@~\|) against my w2k server.
>
> If now someone could get the *wheel mouse* to work with the appreciated
> hints of
> SeonKon Choi (MOUSE_FLAG_BUTTON4 and 5),
> I would not know of any other problem. Version is absolutely usefull on my
> Linux Thin Client.
>
> Thanks a lot to all of you
>
> Kai
>
> > Hi everyone!
> >
> > Rdesktop Ver. 1.1.0
> > ===================
> >
> > I've read about some problems with the german keyboard in the mailing
> > list. Here is my experience:
> >
> > When using the german keyboard (0x407) there are problems to get the
> > `\´, `~´, `|´ - signs with W2K.
> >
> > I've fixed the problem by using some parts of code from the patches of
> > former realeases. We have to do only some changes in the file `xwin.c´.
> >
> > Here are the changes:
> >
> > --
> > ORIGINAL code in `xwin.c´:
> > ==========================
> >
> >                case KeyPress:
> >                     if (scancode == 0)
> >                          break;
> >
> >                     rdp_send_input(ev_time, RDP_INPUT_SCANCODE, 0,
> >                                 scancode, 0);
> >                     break;
> >
> >                case KeyRelease:
> >                     scancode = xwin_translate_key(event.xkey.keycode);
> >                     if (scancode == 0)
> >                          break;
> >
> >                     rdp_send_input(ev_time, RDP_INPUT_SCANCODE,
> >                                 KBD_FLAG_DOWN | KBD_FLAG_UP,
> >                                 scancode, 0);
> >                     break;
> >
> > CHANGED code in `xwin.c´ to:
> > ============================
> >
> >                case KeyPress:
> >                     scancode = xwin_translate_key(event.xkey.keycode);
> >                     if (scancode == 0)
> >                          break;
> >                     if (scancode & 0x80)
> >                          rdp_send_input(ev_time,
> > RDP_INPUT_SCANCODE,KBD_FLAG_EXT,scancode & 0x7f, 0);
> >                     else
> >                          rdp_send_input(ev_time, RDP_INPUT_SCANCODE,0,
> > scancode, 0);
> >                     break;
> >
> >                case KeyRelease:
> >                     scancode = xwin_translate_key(event.xkey.keycode);
> >                     if (scancode == 0)
> >                          break;
> >
> >                     if (scancode & 0x80)
> >                          rdp_send_input(ev_time, RDP_INPUT_SCANCODE,
> > KBD_FLAG_EXT | KBD_FLAG_DOWN | KBD_FLAG_UP, scancode & 0x7f, 0);
> >                     else
> >                          rdp_send_input(ev_time,
> > RDP_INPUT_SCANCODE,KBD_FLAG_DOWN | KBD_FLAG_UP,scancode, 0);
> >                     break;
> >
> > --
> >
> > Re-compile ... and it just works fine with `rdesktop -k 0x407
> > computer_name´!
> >
> >  -- Jens
> >
> >
> >
> > --
> > Jens Prahm
> >
> > email:  j.prahm@t-online.de
> >
> >
> >
>
>