From 347e5022e7f93abd1bddd361b843f7c63325904d Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 7 Jul 2024 18:54:43 +0200 Subject: refactor int16 store keystroke with separate scancode/character args --- int16kbd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'int16kbd.h') diff --git a/int16kbd.h b/int16kbd.h index 45db8ef..3b2c860 100644 --- a/int16kbd.h +++ b/int16kbd.h @@ -1,11 +1,11 @@ #ifndef INT16KBD_H #define INT16KBD_H -static bool int16_store_keystroke(uint16_t scancode); +static bool int16_store_keystroke(uint8_t scancode, uint8_t character); #pragma aux int16_store_keystroke = \ "mov ah, 0x05" \ "int 0x16" \ - __parm [cx] \ + __parm [ch] [cl] \ __value [al] \ __modify [ax] -- cgit v1.2.3