W dniu 12 marca 2010 04:54 użytkownik Jon Cruz <jon@...18...> napisał:
One of the things we need to support is input devices. A common need is for tablets, joysticks, etc. to be able to work as modifiers. Another very common request is user assigned as Josh mentioned.
With all considerations taken in, it seems best to plan for a dynamic approach where one uses functions instead of hardcoded masks and macros. This will allow for things like per-user customizations and also hooking in support for extended input devices.
I agree, a dynamic approach is better and will benefit other people besides Mac users (though it requires rewriting more code :) )
W dniu 12 marca 2010 05:38 użytkownik ~suv <suv-sf@...58...> napisał:
AFAIU X11-based applications running under X11/Xquartz get the key press events from X11, not from OS X itself. This means that remapping and swapping of keysyms can and currently is recommended to be done with xmodmap and not per application (see Inkscape FAQ). It also means whatever default keysyms are seen by GDK and applications like GIMP or Inkscape can change with new X11 releases (AFAIK this happened with the 'Option' key which was mapped to 'Alt_L' in earlier X11 versions and currently defaults to 'Mode_switch' for both right and left option/alt key).
The thing I'm concerned about is that even when you change the mapping in .Xmodmap, the modifier names in the UI stay the same. That's ugly. I think the names should be settable from some data file, so that we can ship different versions of this file for different systems, and get the correct modifier names on OSX.
Regards, Krzysztof