summaryrefslogtreecommitdiff
path: root/lulua/data/winkbd/keyboard.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2020-10-17 10:27:36 +0200
committerLars-Dominik Braun <lars@6xq.net>2020-10-17 10:27:36 +0200
commit6a2262a7f9bf2ab16ecfdfc52e548ef010c76e00 (patch)
tree5bde18ebb75f52a28758d86dd27e2e759af58b09 /lulua/data/winkbd/keyboard.h
parent0d31404e538bc3ed60dfa78a8d9df757f98b82c3 (diff)
downloadlulua-6a2262a7f9bf2ab16ecfdfc52e548ef010c76e00.tar.gz
lulua-6a2262a7f9bf2ab16ecfdfc52e548ef010c76e00.tar.bz2
lulua-6a2262a7f9bf2ab16ecfdfc52e548ef010c76e00.zip
winkbd: Improve rendering
Create self-containted, minimal, but still human-readable C file with all typedefs. Gets rid of the copied header file and all of its weird ifdef logic. Simplifies virtual scancode to virtual key mapping.
Diffstat (limited to 'lulua/data/winkbd/keyboard.h')
-rw-r--r--lulua/data/winkbd/keyboard.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/lulua/data/winkbd/keyboard.h b/lulua/data/winkbd/keyboard.h
deleted file mode 100644
index 0ef87d4..0000000
--- a/lulua/data/winkbd/keyboard.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/****************************** Module Header ******************************\
-* keyboard layout header
-*
-* Copyright (c) 1985-2001, Microsoft Corporation
-*
-* Various defines for use by keyboard input code.
-*
-* History:
-*
-* created by KBDTOOL v3.40 Sat Jan 04 14:19:07 2020
-*
-\***************************************************************************/
-
-/*
- * kbd type should be controlled by cl command-line argument
- */
-#define KBD_TYPE 4
-
-/*
-* Include the basis of all keyboard table values
-*/
-#include "kbd.h"
-/***************************************************************************\
-* The table below defines the virtual keys for various keyboard types where
-* the keyboard differ from the US keyboard.
-*
-* _EQ() : all keyboard types have the same virtual key for this scancode
-* _NE() : different virtual keys for this scancode, depending on kbd type
-*
-* +------+ +----------+----------+----------+----------+----------+----------+
-* | Scan | | kbd | kbd | kbd | kbd | kbd | kbd |
-* | code | | type 1 | type 2 | type 3 | type 4 | type 5 | type 6 |
-\****+-------+_+----------+----------+----------+----------+----------+----------+*/
-
-#include "customization.h"
-