• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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: 67595
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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic