Functions

FkMax

Return number of function keys as a constant

Syntax

Signature
int FkMax( void );

Arguments

No arguments.

Return value

40.

Description

Use this constant to bound a loop that generates compatible function-key names with `FkLabel()`. It describes the range of those labels. The active driver and input device determine which key events the application can receive.

Example

fkmax.c
#include "xdev-wtui.h"

#include <stdio.h>

int main( void )
{
   printf( "Function keys: %d\n", FkMax() );

   return 0;
}