key_set

Sets specific key's trigger code.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      

Syntax

void key_set(data,trigger-code)
int          data
trigger      trigger-code

Description

data specifies the key.

trigger-code specifies the trigger to set.
See trim.h for key values.

Example

Sets [Enter] to ring a bell.
key_set(key_enter,{ bell(); });