]> git.friedersdorff.com Git - max/tmk_keyboard.git/commit
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)
commit494faeb4881deed89677f4d79e986f70b1915451
tree481f7313d714f9450a69ffee92b17c4dd5716fd2
parent826a10752621762806c5c86bef902e5096651dbc
Correct the comments of matrix ROW and COL. (#604)

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
converter/terminal_usb/config.h