Brainyware Store
Shopping Cart
BuiltWithNOF
CASLPro Events Library

The CASLPro Events Library allows CASLPro programmers to easily capture and utilize the 5-way navigation pad now present on many PalmOS devices. Launch, soft power off, and hard power off can also be detected and handled.

These events are not captured using a timer; they are captured using the PalmOS event loop so there is no latency in the response. You can now even prevent your applications from powering off by any means or from exiting!

Download the Events demo application to get some idea of the power you can add to your applications.  The captured events include:

  • 5-way navigation pad (up, down, left, right, and center)
  • 5-way navigation pad combinations (up+left, down+left, and up+right, up+left)
  • Hard power off (i.e. the on/off button)
  • Soft power off (i.e. the timed power-off feature)
  • Launch command (attempting to open another application by any means)
  • All of these events can be left handled (so the PalmOS default actions will be stopped) or unhandled (so the PalmOS can also treat the event normally)

The CASLPro Events Library consists of three files; a pre-compiled CASL library (Events.a), a CASL package file (Events.cpk), and a “c” file (EvtPassThru.c).  To use it, simply copy these to files to the same directory as your CASL Project and add the line
  
include "Events.cpk";
near the beginning of your CASL code.  Then follow the example program to add the necessary functions to your application. The “c” file is included for more advanced CASLPro programmers who wish to add additional “c” functions to the predefined CASLpro_event_handler.

In addition to these three files, the full CASLPro project and code for the Events demonstration program is included. This project clearly demonstrates the use of all the CASLPro Events Library functions.

The cost to add this functionality to your CASL Pro applications is only $25!  There are no additional licensing fees, runtimes, or other nonsense. The only restiction is that you may not share the pre-compiled CASL library (Events.a), CASL package file (Events.cpk), or the “c” file (EvtPassThru.c). These files are only needed when compiling your application.  Updates will be offered at no additional cost.

CASLPro Events Library - $25

Want to know more? Then visit our Frequently Asked Questions page! If you can’t find it there then email us at info@brainyware.com,

[Home] [Catalog] [Cereal] [CASL Serial BT Lib] [Events Lib] [DialNum Lib] [Services] [News] [FAQ] [Contact Us] [About Us] [CASL Developer]