Difference between revisions of "PRGM GetKey"

From WikiPrizm
Jump to navigationJump to search
(Created page with '=== PRGM_GetKey === int PRGM_GetKey(){ unsigned char buffer[12]; PRGM_GetKey_OS( buffer ); return ( buffer[1] & 0x0F ) * 10 + ( ( buffer[2] & 0xF0 ) >> 4 ); } [[Category: …')
(No difference)

Revision as of 11:22, 20 January 2012

PRGM_GetKey

int PRGM_GetKey(){
unsigned char buffer[12];
	PRGM_GetKey_OS( buffer );
return ( buffer[1] & 0x0F ) * 10 + ( ( buffer[2] & 0xF0 ) >> 4 );
}