Feature #942

Make all keys used for actions/macros identical on all platforms

Added by kervala about 8 years ago. Updated over 7 years ago.

Status:Closed Start date:05/26/2010
Priority:Normal Due date:
Assignee:kervala % Done:

100%

Category:OS: GNU/Linux
Target version:Version 0.8.0

Description

Currently, Windows is using "virtual keys" and all keyboards keys have a name. Under Linux and Mac OS, each key has the name of its content but not its position in keyboard layout. While we need to use already defined key names in "nel/misc/events.h", we can't map most of these keys.

We should map all identical key to the same key name under all platform (even if new keys can be created as needed).


Related issues

related to Ryzom - Feature #952: Use the same Mac key mapping with Cocoa and X11 Rejected 05/31/2010

History

#1 Updated by kervala about 8 years ago

  • Status changed from Validated to Assigned
  • Assignee set to kervala

#2 Updated by kervala about 8 years ago

  • File keycodes.patch added

I attached a patch which would work but keycodes are different under some platform (Mac OS X) so it needs some testing before applying it :)

#3 Updated by kervala about 8 years ago

  • % Done changed from 0 to 90

Only a few keys are not yet defined, please post missing keycodes which are not in the switch block :) Thanks.

#4 Updated by kervala about 8 years ago

  • File deleted (keycodes.patch)

#5 Updated by rti about 8 years ago

Did you test the current version already on a Mac?
For me, several number keys are not mapped correctly. Eg. 1 maps to 7, 2 to nothing, 3 to 8.

If you did not test it on another Mac machine, I could adjust it to match my system :)

#6 Updated by kervala about 8 years ago

Yes please could you adjust to your keycodes ? (I still can't launch xev on my Mac OS X :s)

Thanks a lot :)

#7 Updated by rti about 8 years ago

Sure. Will have a look into that.

#8 Updated by kervala about 8 years ago

  • Status changed from Assigned to Resolved
  • Target version set to Version 0.8.0
  • % Done changed from 90 to 100

#9 Updated by kervala about 8 years ago

  • Category changed from NeL: General to OS: GNU/Linux

#10 Updated by kervala over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF