[PATCH] Keyboard improvements

Discussion of development and patch submission.
Battler
Posts: 793
Joined: Sun 06 Jul, 2014 7:05 pm

[PATCH] Keyboard improvements

Postby Battler » Tue 15 Dec, 2015 5:23 am

The patch is attached. It does this:
- Adds keyboard scan code sets 2 and 3 to AT keyboard emulation and several commands relating to set 3;
- Adds keyboard scan code translation;
- Improves processing of scan codes so that ALT, CTRL, etc. get passed in the correct order;
- Fixes to the Windows raw keyboard input code;
- PC/XT keyboard fix by reenigne.
Attachments
pcem_keyboard.patch
(59.38 KiB) Downloaded 57 times
Battler
Posts: 793
Joined: Sun 06 Jul, 2014 7:05 pm

Re: [PATCH] Keyboard improvements

Postby Battler » Tue 15 Dec, 2015 8:20 pm

New version of the patch is attaches. Fixes undeclared variables in keyboard_at.c and win.c.
Attachments
pcem_keyboard.patch
(63.38 KiB) Downloaded 49 times
Battler
Posts: 793
Joined: Sun 06 Jul, 2014 7:05 pm

Re: [PATCH] Keyboard improvements

Postby Battler » Tue 15 Dec, 2015 8:23 pm

And yet another version. Readds keyboard_at_adddata_mouse() that I accidentally removed.
Attachments
pcem_keyboard.patch
(63.12 KiB) Downloaded 53 times
SarahWalker
Site Admin
Posts: 1325
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [PATCH] Keyboard improvements

Postby SarahWalker » Mon 04 Jan, 2016 9:03 pm

What does the PC/XT keyboard change fix?
Battler
Posts: 793
Joined: Sun 06 Jul, 2014 7:05 pm

Re: [PATCH] Keyboard improvements

Postby Battler » Mon 04 Jan, 2016 9:37 pm

It makes the IBM XT actually receive key presses. Though for more, you should ask reenigne, as he created the fix.

Also, you should wait a bit for all the patches because I'm going to post new versions of all of them soon, as I've improved some of them a bit during the holidays. :p
Greatpsycho
Posts: 88
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [PATCH] Keyboard improvements

Postby Greatpsycho » Fri 29 Sep, 2017 7:36 am

This patch applies all even command value between 0xF0 and 0xFE to reset CPU. XENIX uses command value 0xF0 to reset CPU.

Edit : This patch has been incorporated here.
Greatpsycho
Posts: 88
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [PATCH] Keyboard improvements

Postby Greatpsycho » Thu 02 Nov, 2017 7:51 am

This patch changes right window key to ctrl+alt key combination on non-windows enviroment. It makes easy to enter CTRL+ALT+DEL and CTRL+ALT+ESC combinations on Linux(On Linux, it is difficult to enter the CTRL+ALT+ESC combination. Some BIOS like Award286 clone uses it to enter CMOS setup).
Attachments
keyboard.c.patch
(744 Bytes) Downloaded 11 times

Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest