THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/02/2012 at 12:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
I'm trying to detect arrow keys like this:
Bool SceneHook::KeyboardInput(BaseSceneHook *node, BaseDocument *doc, BaseDraw *bd, EditorWindow *win, const BaseContainer &msg;)
{
LONG key = msg.GetData(BFM_INPUT_CHANNEL).GetLong();
GePrint("key: " + LongToString(key));
return FALSE;
}
An arrow key ID is only returned when it is used with Control, Option/Alt or Command.
Is it possible to use a SceneHook to detect arrow keys without qualifiers? Also, is it possible to detect Shift + arrow key combinations?