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
    • Recent
    • Tags
    • Users
    • Login

    Reading mouse or keyboard events

    Scheduled Pinned Locked Moved SDK Help
    9 Posts 0 Posters 687 Views
    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 Offline
      Helper
      last edited by

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

      On 25/06/2008 at 04:25, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.x 
      Platform:      Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I overloaded the Timer class in my dialog to be triggered every 2000 ms. Is it possible to get a mouse or keyboard event from within the overloaded Timer class? I want to be able to read a key or a mouse down event. But it only seems to be possible inside a user area. Isn't it possible to read the keyboard or mouse from anywhere else?

      Rui Batista

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

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

        On 25/06/2008 at 23:46, xxxxxxxx wrote:

        Anyone?
        Is it possible at all?

        Rui Batista

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

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

          On 26/06/2008 at 02:29, xxxxxxxx wrote:

          Unfortunatly there is no global GetInputState() function in COFFEE. So I don't think this is possible.

          cheers,
          Matthias

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

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

            On 26/06/2008 at 06:39, xxxxxxxx wrote:

            Mmmmm, thank you, Matthias.
            Do you know when will COFFEE get an update? Like adding a global GetInputState() function and being able to create Tracks and Keyframes?

            Rui Batista

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

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

              On 26/06/2008 at 08:04, xxxxxxxx wrote:

              Wasn't there an update called C++? (dives to ground, crawls to nearest cover, and waits for barrage). 😉

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

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

                On 26/06/2008 at 10:06, xxxxxxxx wrote:

                C++ may be nice but not as fast for debugging. In COFFEE I type my code, run Cinema4D and test it really fast. With C++ I have to wait for compilation, linking, etc...
                Honestly, COFFEE suits much more my programming style (I'm not a true programmer).

                Rui Batista

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

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

                  On 28/06/2008 at 15:40, xxxxxxxx wrote:

                  Howdy,

                  Hehe, I think you should use whatever suits you.

                  But, it would be cool, though if there was a COFFEE API, so that you could use C++ to add custom functions to COFFEE. Then you could do a lot of those things in COFFEE that you can now only do in C++. One of the main reasons I moved to C++ was because of the limitations of COFFEE. ;o)

                  Adios,
                  Cactus Dan

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

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

                    On 28/06/2008 at 16:37, xxxxxxxx wrote:

                    Actually you can extend COFFEE through the C++ COFFEE library. There is a chapter about it in the C++ docu.

                    cheers,
                    Matthias

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

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

                      On 28/06/2008 at 16:43, xxxxxxxx wrote:

                      Howdy,

                      Well, now that is cool!

                      I never noticed that library before.

                      Adios,
                      Cactus Dan

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