]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Correct the comments of matrix ROW and COL. (#604)
authorYou Xiaojie / 尤晓杰 <yxj790222@163.com>
Mon, 18 Mar 2019 06:47:07 +0000 (14:47 +0800)
committerhasu@tmk <tmk@users.noreply.github.com>
Mon, 18 Mar 2019 06:47:07 +0000 (15:47 +0900)
according to the code:
static uint8_t matrix[MATRIX_ROWS];
#define ROW(code)      (code>>3)
#define COL(code) (code&0x07)
in converter/terminal_usb/matrix.c
ROW is decided by bits 7-4 of scancode
COL is decided by bits 2-0 of scancode


No differences found