Hi,
Now some keys of the numeric keyboard are being correctly mapped and some
still are not...
Keys 2, 4, 6 and 8, i.e., keys that represents the arrows are mapped ok
when numlock is off.
However, keys 1,3,5,7 and 9 are still wrongly mapped. Keysyms detected by
xev for these keys when using the java viewer don't match with the ones
detected on a local xev... Is it possible to correct this?
Cheers,
Rafael
2012/8/24 DRC <dcomman...@users.sourceforge.net>
> Ugh. Yes, there were several problems. Not all of the keys were mapped
> correctly, and the modifier keys were being sent in a batch rather than
> as they were pressed. I modified the behavior to be more like that of
> the native viewers.
>
> svn co
>
> https://virtualgl.svn.sourceforge.net/svnroot/virtualgl/vnc/branches/1.1.x/java
> turbovnc.java
> cd turbovnc.java
> make
>
> Currently working on the same for for the next-gen Java viewer, since it
> suffers from the same problem.
>
> On 8/24/12 9:42 AM, Rafael Guimaraes wrote:
> > The problems only happens when using the java applet. Sorry for not
> > mentioning it...
> >
> > Cheers,
> >
> > Rafael
> >
> > 2012/8/24 DRC <dcomman...@users.sourceforge.net
> > <mailto:dcomman...@users.sourceforge.net>>
> >
> > Which viewer are you using, or does it occur with all of them?
> >
> >
> > On 8/24/12 8:05 AM, Rafael Guimaraes wrote:
> > > Hi DRC,
> > >
> > > I am currently using TurboVNC 1.1 and I am facing some problems
> with the
> > > proper use of the numeric keyboard. I am trying to control an
> > > application that uses the numeric keys (without numlock) and the
> > > behavior when using TurboVNC differs from the behavior on a local
> > > machine. I have mapped the event through xev and they really
> differ.
> > > Below, you may see what xev shows me when I press and release keys
> from
> > > 1 to 9 in the numeric keyboard without numlock on a local machine
> and
> > > then using TurboVNC on a remote machine. Keys 2,4,5,6 and 8 don't
> even
> > > generate events when using TurboVNC...
> > >
> > > Is this fixable?
> > >
> > >
> > > LOCAL MACHINE
> > > =============
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488344179, (63,94), root:(67,119),
> > > state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488344243, (63,94), root:(67,119),
> > > state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488344475, (63,94), root:(67,119),
> > > state 0x0, keycode 88 (keysym 0xff99, KP_Down), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488344539, (63,94), root:(67,119),
> > > state 0x0, keycode 88 (keysym 0xff99, KP_Down), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488344747, (63,94), root:(67,119),
> > > state 0x0, keycode 89 (keysym 0xff9b, KP_Next), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488344811, (63,94), root:(67,119),
> > > state 0x0, keycode 89 (keysym 0xff9b, KP_Next), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345043, (63,94), root:(67,119),
> > > state 0x0, keycode 83 (keysym 0xff96, KP_Left), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345115, (63,94), root:(67,119),
> > > state 0x0, keycode 83 (keysym 0xff96, KP_Left), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345299, (63,94), root:(67,119),
> > > state 0x0, keycode 84 (keysym 0xff9d, KP_Begin), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345355, (63,94), root:(67,119),
> > > state 0x0, keycode 84 (keysym 0xff9d, KP_Begin), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345523, (63,94), root:(67,119),
> > > state 0x0, keycode 85 (keysym 0xff98, KP_Right), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345595, (63,94), root:(67,119),
> > > state 0x0, keycode 85 (keysym 0xff98, KP_Right), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345803, (63,94), root:(67,119),
> > > state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488345875, (63,94), root:(67,119),
> > > state 0x0, keycode 79 (keysym 0xff95, KP_Home), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488346051, (63,94), root:(67,119),
> > > state 0x0, keycode 80 (keysym 0xff97, KP_Up), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488346123, (63,94), root:(67,119),
> > > state 0x0, keycode 80 (keysym 0xff97, KP_Up), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488346419, (63,94), root:(67,119),
> > > state 0x0, keycode 81 (keysym 0xff9a, KP_Prior), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 31, synthetic NO, window 0x2600001,
> > > root 0x55, subw 0x0, time 1488346483, (63,94), root:(67,119),
> > > state 0x0, keycode 81 (keysym 0xff9a, KP_Prior), same_screen
> YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > >
> > > REMOTE MACHINE USING TURBOVNC
> > > ==============================
> > >
> > > KeyPress event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488547607, (68,90), root:(70,112),
> > > state 0x0, keycode 70 (keysym 0xff57, End), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488547695, (68,90), root:(70,112),
> > > state 0x0, keycode 70 (keysym 0xff57, End), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488550879, (68,90), root:(70,112),
> > > state 0x0, keycode 72 (keysym 0xff56, Next), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488551007, (68,90), root:(70,112),
> > > state 0x0, keycode 72 (keysym 0xff56, Next), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488553239, (68,90), root:(70,112),
> > > state 0x0, keycode 69 (keysym 0xff50, Home), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488553359, (68,90), root:(70,112),
> > > state 0x0, keycode 69 (keysym 0xff50, Home), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyPress event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488554328, (68,90), root:(70,112),
> > > state 0x0, keycode 71 (keysym 0xff55, Prior), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XmbLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > > KeyRelease event, serial 28, synthetic NO, window 0x1400001,
> > > root 0x37, subw 0x0, time 1488554399, (68,90), root:(70,112),
> > > state 0x0, keycode 71 (keysym 0xff55, Prior), same_screen YES,
> > > XLookupString gives 0 bytes:
> > > XFilterEvent returns: False
> > >
> > >
> > >
> > > Cheers,
> > >
> > > Rafael
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and
> > > threat landscape has changed and how IT managers can respond.
> Discussions
> > > will include endpoint security, mobile security and the latest in
> malware
> > > threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > >
> > >
> > >
> > > _______________________________________________
> > > VirtualGL-Users mailing list
> > >VirtualGL-Users@lists.sourceforge.net
> > <mailto:VirtualGL-Users@lists.sourceforge.net>
> > >https://lists.sourceforge.net/lists/listinfo/virtualgl-users
> > >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond.
> > Discussions
> > will include endpoint security, mobile security and the latest in
> > malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > VirtualGL-Users mailing list
> > VirtualGL-Users@lists.sourceforge.net
> > <mailto:VirtualGL-Users@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/virtualgl-users
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >
> >
> >
> > _______________________________________________
> > VirtualGL-Users mailing list
> > VirtualGL-Users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/virtualgl-users
> >
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> VirtualGL-Users mailing list
> VirtualGL-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users