Reading mouse or keyboard events

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

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

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

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

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

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

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

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

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