Detecting keypress on tool plugin



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/11/2003 at 16:29, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.206 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,
    How can i detect when a key has been pressed (or released) (like ctrl, shift, command) when using a tooldata plugin?
    There's a function MouseInput that does one for the mouse, but there is nother I can see to handle keyboard keys
     
    Thanks



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 11/11/2003 at 15:58, xxxxxxxx wrote:

    No, there are no such hooks. (I guess too many things compete for those keystrokes already. But I'll send this along as a suggestion.)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 11/11/2003 at 16:36, xxxxxxxx wrote:

    I think what Geespot actually wanted was
    GetInputState() or GetInputEvent(). Search the forum for detailed information, I remember we once talked about this in a thread when I needed to know if it´s possible to detect a keyboard pressing outside the MouseInput loop (or similar, not sure anymore but it is here in the plugincafe forum)


Log in to reply