• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Reg:Keyboard MApping

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im developing a client application as similar to VNC client.In that im having some problem in keyboard Mapping.

If the Java client and Host are in french keyboard settings, the Java client receives the ascii code of the key (getkeycode).then parsing hte ascii value to the corresponding USB Key value using the HASH MAp table and send it to the Host.Then Host receives the USB code value then the OS changes the key value to the corresponding keyboard settings.

For example Im typing key 'a' (physically i typed 'a' key but the Java
receives a 'q' in the keylistener because i changed the keyboard settings
to french) in the Java client.Receives 'q' in the key listener and get
the USB code from the Hash table ans send it to the Host, then Host
receives and send it to the OS it then convert the 'q' in to 'a'
and displaying in the Host system.
How can i solve the issue mentioned above?

How can i send the UNknown location key and Unknown key code key in to the HOst
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Jonny", please check your private messages for an important administrative matter.
 
Those are the largest trousers in the world! Especially when next to this ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic