[Coco] Error compiling CMOC libraries

Pierre Sarrazin sarrazip at sarrazip.com
Sun Sep 22 19:44:36 EDT 2019


Dixit Lee (2019-09-21 10:15):
> Thanks!  Both built successfully without error.  Now to figure out
> how to use them. LOL! :)

Cool!

For bcontrol: 

To use the Keyboard object, instante an instance, then call
Keyboard_init() on it. Then call Keyboard_poll() the same way
one would call INKEY$ in a Basic program. Call Keyboard_shutdown()
when finished with the Keyboard object.

To read the joystick axis values and button states, call
Joystick_getAxisValues() and Joystick_getButtonStates().
No initialization step is needed.

See Keyboard.h and Joystick.h for details.


For decbfile:

For simple uses, like simply reading or writing a region of memory to
disk in a single call, see decbutil.h.  For more control, see the start
of decbfile.h and the comments on the functions declared there.

-- 
Pierre Sarrazin <sarrazip @ sarrazip . com>


More information about the Coco mailing list