Hi,
Robert Vojta wrote:
Hallo all,
I'm extending OO.o to support MOD3 modifier because I need it for Mac
OS X shortcuts [1], [2]. It works pretty well for me now on Mac OS X
platform. I did go through the whole code (opengrok) and added support
for MOD3. As I haven't Windows build machine around, I tried to build
my changes via buildbot. And I found that I missed
vcl/win/source/window/salframe.cxx. So, I look at it and I found that
it uses "old" KeyCode (modified by me) constructor and no MOD3 support
at all. I fixed this and I did go through the code and found, that
VK_MENU is mapped to MOD2 which is Alt on Windows. I'm little bit
confused, because VK_MENU should be Menu key, shouldn't be? I thought
that VK_APPS should be the Menu key.
VK_MENU is for Alt (see
http://msdn.microsoft.com/en-us/library/ms645540.aspx ). The "menu" key
you mean is probably the one for the context menu (beside the windows
key usually) which for unknown reasons is called VK_APPS.
You can see what I mean by old KeyCode constructor at
http://idisk.mac.com/rvojta-Public/OO.o/CWS/cws-dev300-m41-macshortcuts01.diff
This diff contains all changes I made today to add support for MOD3
(Windows key on Windows, Unix, Ctrl key on Mac OS X), multiplatform
shortcuts definitions and few Mac OS X shortcuts fixed.
Is there anyone who is willing to help me with MOD3 support on
Windows? It will be much faster than my buildbot approach :( Many
thanks in advance.
I'll check out the CWS today and build it till next week; this will also
give QA an opportunity to check it.
As for Mod3 on Windows: which key would that be ? I'm currently not sure
which key you could use. You wouldn't use the windows key (even if it
worked it would be rather unnatural for a windows user if the start menu
didn't open on that) and the context menu key is also inadequate. These
would be Meta and/or Super on the X11 platforms for instance.
Kind regards, pl
--
"Those who can, do; those who can't, teach.
And those who can't teach, go into administration."
-- attributed to Lois McMaster Bujold
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: dev-h...@gsl.openoffice.org