Is it by any chance possible to make the Menu key work as one would expect in Mathematica: opening a context menu?
The Menu key does nothing in version 7 or 8 on Windows.
|
Is it by any chance possible to make the Menu key work as one would expect in Mathematica: opening a context menu? The Menu key does nothing in version 7 or 8 on Windows. |
|||||||||
|
|
This isn't a full answer, but maybe those with more knowledge can take it from here. To capture key presses of a particular key, one can do the following:
The previous example increments To do more fun things, you can try to call a front end element with the following:
This automatically launches the front end dialog that is mentioned. A full list of Front End Tokens is available here. Putting things together:
There are two problems here:
Maybe you can hack together something from this! |
|||||||
|
|
In the past I had some success interfacing Mathematica with Wiimotes using the programs PPJoy and GlovePIE. GlovePIE took care of the Wii stuff and PPJoy has hooks for it. PPJoy can be used to let Windows believe it's connected to a joystick. In that way even a keyboard can be turned into a joystick, with buttons and all. The nice thing is, Mathematica has access to most game devices (including this virtual one) using the PPJoy worked flawless on my old win XP laptop I used when working with this setup, but on win7 there appears to be problems. A workaround can be found here or here. |
||||
|
|
|
I tried AutoHotKey with this code and it worked:
|
|||||||||
|