HardkeyState
Shows how to use the Tungsten 5-Way-Navigator button
Download

HardkeyState.zip (70 KB)

Remark:
This may not the best way to make use of the navigator button, cause it is based on a timer function.
If you have an idea to make it better, please let me know!

Functions definition

external "CASL_Hardkey";

function GetCurrKeyState as string;

end_external;

variables;
  numeric FiveWayNavRight = 33554432;
  numeric FiveWayNavLeft = 16777216;
  numeric FiveWayNavCenter = 67108864;
  numeric FiveWayNavUp = 2;
  numeric FiveWayNavDown = 4;
end;
 

  © 2005 Ulrich Riepert / Authorized for posting at CASLSoft.com