Change module id to ModuleId_KeyClusterLeft, MODULE_POINTER_COUNT to 1 and the keyboard matrix size to 2x2.

This commit is contained in:
László Monda
2019-05-15 23:19:14 +02:00
parent b92bf86b99
commit 6b74a01a0b
3 changed files with 4 additions and 12 deletions

View File

@@ -13,18 +13,10 @@ key_matrix_t keyMatrix = {
.cols = (key_matrix_pin_t[]) {
{PORTB, GPIOB, kCLOCK_PortB, 11},
{PORTA, GPIOA, kCLOCK_PortA, 6},
{PORTA, GPIOA, kCLOCK_PortA, 8},
{PORTB, GPIOB, kCLOCK_PortB, 0},
{PORTB, GPIOB, kCLOCK_PortB, 6},
{PORTA, GPIOA, kCLOCK_PortA, 3},
{PORTA, GPIOA, kCLOCK_PortA, 12}
},
.rows = (key_matrix_pin_t[]) {
{PORTB, GPIOB, kCLOCK_PortB, 7},
{PORTB, GPIOB, kCLOCK_PortB, 10},
{PORTA, GPIOA, kCLOCK_PortA, 5},
{PORTA, GPIOA, kCLOCK_PortA, 7},
{PORTA, GPIOA, kCLOCK_PortA, 4}
}
};