Signed-off-by: Kevin O'Connor
---
src/kbd.c | 136 --
1 file changed, 71 insertions(+), 65 deletions(-)
diff --git a/src/kbd.c b/src/kbd.c
index 7ab440e..a75adc3 100644
--- a/src/kbd.c
+++ b/src/kbd.c
@@ -398,34
The current keyboard code only supports the keycode mappings for
83-key keyboards (plus handling for alt-esc and f11/f12). Add a more
complete mapping of keycodes for 101-key keyboards. This adds more
alt key and ctrl key mappings.
Signed-off-by: Kevin O'Connor
---
On a 101-key keyboard the keypad enter and keypad '/' keys have unique
BIOS keycodes that are distinct from the main keyboard enter and '/'
keys.
Signed-off-by: Kevin O'Connor
---
src/kbd.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/src/kbd.c
Generate the appropriate interrupt events for the given keys.
Signed-off-by: Kevin O'Connor
---
src/kbd.c | 55 ++-
src/romlayout.S | 2 ++
2 files changed, 52 insertions(+), 5 deletions(-)
diff --git a/src/kbd.c
Merge the two consecutive u8 fields into a single u16 field.
Signed-off-by: Kevin O'Connor
---
src/kbd.c | 87 +--
src/std/bda.h | 26 +++---
2 files changed, 54 insertions(+), 59 deletions(-)
diff
Detect the sequences for generating Ctrl+Break and Alt+SysReq on USB
keyboards and produce the appropriate legacy scancodes.
Signed-off-by: Kevin O'Connor
---
src/hw/usb-hid.c | 50 ++
1 file changed, 30 insertions(+), 20
Signed-off-by: Kevin O'Connor
---
src/kbd.c | 105 +-
1 file changed, 43 insertions(+), 62 deletions(-)
diff --git a/src/kbd.c b/src/kbd.c
index c45e8ea..7ab440e 100644
--- a/src/kbd.c
+++ b/src/kbd.c
@@ -377,21
int 0x05 was not assigned in the interrupt table - fix that.
Signed-off-by: Kevin O'Connor
---
src/post.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/post.c b/src/post.c
index 2c4f12b..2a06d44 100644
--- a/src/post.c
+++ b/src/post.c
@@ -47,6 +47,7 @@
Don't warn if a key without a mapping is pressed - it's known that
some keys aren't mapped to keycodes. Suppress these keys instead of
sending 0x to the keyboard buffer - as 0x can confuse some
programs.
Signed-off-by: Kevin O'Connor
---
src/kbd.c | 5 ++---
1 file