Hi, I have the following problem while porting CSFML(itself is a port of SFML to c) to Java. In the event handling process the structs in the union should be filled with values for x and y but stay zero. I uploaded a working sample which produces said behaviour to https://github.com/pizzadox9999/JSFML. The java event classes can be found at src/org/jsfml/window/event/. The example uses the MouseMoveEvent. The c header files can be found under CSFML_header.
For anybody who wants to try it, it is an Eclipse Maven project.
Hi, I have the following problem while porting CSFML(itself is a port of SFML to c) to Java. In the event handling process the structs in the union should be filled with values for x and y but stay zero. I uploaded a working sample which produces said behaviour to https://github.com/pizzadox9999/JSFML. The java event classes can be found at src/org/jsfml/window/event/. The example uses the MouseMoveEvent. The c header files can be found under CSFML_header. For anybody who wants to try it, it is an Eclipse Maven project.
I would appreciate some help and guidence.
Best regards pizzadox9999