This function sets the shift state.

Syntax

int ShiftState(
  int mode
);

Parameters

mode
[in] Specifies the shift state.
ValueDescription
TRUE Switches the shift state on.
FALSE Switches the shift state off.
CURRENT_MODE Returns the current shift state, without changing the shift state.

Return value

Returns the shift state after the change.
ValueDescription
TRUE The shift state is on.
FALSE The shift state is off.

Remarks

You can change the shift state as if you pressed the SHIFT key.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2022/03/10