summaryrefslogtreecommitdiff
path: root/devel/clanlib-devel/files/patch-ak
blob: c5758600b6593240c6078f257004e8a1bc286908 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Sources/Core/Input/TTY/keyboard_tty.h.orig	Sun Apr  9 15:18:01 2000
+++ Sources/Core/Input/TTY/keyboard_tty.h	Mon Sep 25 00:46:07 2000
@@ -32,6 +32,8 @@
 #include "Core/System/Unix/init_linux.h"
 #include "API/Core/System/keep_alive.h"
 #include <termios.h>
+#include <stdio.h>
+#include <sys/kbio.h>
 
 class CL_InputButton_TTYKeyboard : public CL_InputButton
 {
@@ -71,12 +73,13 @@
 
 	char keymap[128];
 	
+	keymap_t vga_keymap;
 	int fd;
 	int old_mode;
 	int old_kd;
 	struct termios old_termios;
 	void handle_code(char code);
-	char translate(int kb_value);
+	char translate(struct keyent_t kb_value);
 	
 	CL_InputButton_TTYKeyboard **buttons;
 };