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

Re: RDesktop 1.1.0 NumLock patch



I realise I never answered your question... ;)

What I was going to say is that with my limited knowledge of X it seems that
you need to get it from XKeyEvent... :\

regards,

peter



Peter Byström wrote:

> I did a hack in the patches I got at bibl4... :\ it seems to work...
>
> regards,
>
> peter
>
> Matt Chapman wrote:
>
> > On Sat, Dec 15, 2001 at 05:39:32PM +0800, Paul Bludov wrote:
> > >
> > >  rdp_send_input(0, RDP_INPUT_SYNCHRONIZE, 0, ui_get_toggle_keys(), 0);
> >
> > Thanks, well spotted!
> >
> > >  if (GetKeyState(VK_CAPITAL) & 1)
> >
> > Anyone know whether it's possible to do this in X, or can you only get
> > this information once a key is pressed (via state in XKeyEvent)?
> >
> > Matt