From bce944d1498eaa3b6940ee234c863b3548a66b37 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 24 Jan 2021 12:00:11 -0500 Subject: graphics! --- doc/internal/scantabs.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/internal/scantabs.txt (limited to 'doc/internal/scantabs.txt') diff --git a/doc/internal/scantabs.txt b/doc/internal/scantabs.txt new file mode 100644 index 0000000..208da08 --- /dev/null +++ b/doc/internal/scantabs.txt @@ -0,0 +1,17 @@ +scan table file header: + uint32_t: number of scan tables + 0x10 aligned scan table records + +scan table record: + uint32_t offset in file of table data / 0x200 + uint8_t: length of prefix + uint8_t's: prefix + +table data (0x200 aligned): + first key down table then key up table + uint8_t's: + 0x00: bad scancode + 0x01: prefix (go to table) + 0x02: wrong polarity (go to other up or down) + 0x03: good scancode, no keycode + other: keycode -- cgit v1.2.3