Prototype

int getInputMode(
  int mode
);

Returns

current input mode