From 993427e58bdcfd3a37e09fd43f461f5df66d8729 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Mon, 7 Aug 2017 16:04:06 -0400 Subject: [PATCH] properly generate tables maybe --- docs/keyboard_identifiers.md | 1 + util/keyboard_identifier_generator.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/keyboard_identifiers.md b/docs/keyboard_identifiers.md index b10cb0b3f1..b13cbf011f 100644 --- a/docs/keyboard_identifiers.md +++ b/docs/keyboard_identifiers.md @@ -1,6 +1,7 @@ # Keyboard Identifiers |Keyboard|Vendor ID|Product ID|Device Ver| +| ------ |--------:| --------:| --------:| |alps64|0xFEED|0x6464|0x0001| |amj40|0xFEED|0x6072|0x0002| |amj60|0xFEED|0x6066|0x0001| diff --git a/util/keyboard_identifier_generator.sh b/util/keyboard_identifier_generator.sh index 5b326ebbf0..eba77158a0 100644 --- a/util/keyboard_identifier_generator.sh +++ b/util/keyboard_identifier_generator.sh @@ -1,7 +1,8 @@ #/bin/bash echo "# Keyboard Identifiers -|Keyboard|Vendor ID|Product ID|Device Ver|" > docs/keyboard_identifiers.md +|Keyboard|Vendor ID|Product ID|Device Ver| +| ------ |--------:| --------:| --------:|" > docs/keyboard_identifiers.md for project in $(find . -regex '\./keyboards/[a-z0-9_\-]+/config.h') do keyboard_name=$(printf $project | sed -r "s/\.\/keyboards\/([a-zA-Z0-9_\-]+).*/\1/g")