Keyboard SpyMatrixCode

From WikiPrizm
Revision as of 12:15, 31 July 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = Keyboard_SpyMatrixCode | header = fxcg/keyboard.h | index = 0x12C9 | signature = int Keyboard_SpyMatrixCode(char* column, char* row) | synopsis = Gets the n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/keyboard.h
Syscall index: 0x12C9
Function signature: int Keyboard_SpyMatrixCode(char* column, char* row)

Gets the next matrix code available in the key buffer, without removing it from the buffer.

Parameters

  • column - pointer to char that will receive the column number of the matrix code;
  • row - pointer to char that will receive the row number of the matrix code.

Returns

The current number of key codes in the key buffer.

Comments

As noted above, this syscall doesn't remove the key from the key buffer, hence the "Spy" in the name.