]> git.friedersdorff.com Git - max/tmk_keyboard.git/commit
Correct the comments of matrix ROW and COL. (#600)
authorYou Xiaojie / 尤晓杰 <yxj790222@163.com>
Sun, 17 Mar 2019 23:01:15 +0000 (07:01 +0800)
committerhasu@tmk <tmk@users.noreply.github.com>
Sun, 17 Mar 2019 23:01:15 +0000 (08:01 +0900)
commit8bb1c010fa075d6971389db8ebab89ac1b05ca15
tree0b5053969898330e3b26a1543e88d4dda1cffe15
parentbf030f54202616b0f8955d7cd9fcfb5bf31561ec
Correct the comments of matrix ROW and COL. (#600)

according to the code:
static uint8_t matrix[MATRIX_ROWS];
#define ROW(code)      (code>>3)
#define COL(code)      (code&0x07)
in converter/ps2_usb/matrix.c
ROW is decided by bits 7~4 of scancode
COL is decided by bits 2~0 of scancode
converter/ps2_usb/config.h