Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Detecting keypress on tool plugin

    SDK Help
    0
    3
    288
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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.)

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post