#include "../fb.h"
#include "../unix/fb_private_console.h"
#include <sys/ioctl.h>
#include <signal.h>
#include <linux/kd.h>
#include <linux/keyboard.h>
#include <linux/vt.h>
#include "../fb_private_hdynload.h"
#include "../unix/fb_private_scancodes_x11.h"
Go to the source code of this file.
|
static Display * | display |
|
static FB_DYLIB | xlib = NULL |
|
static X_FUNCS | X = { NULL } |
|
static pid_t | main_pid |
|
static int | key_fd |
|
static int | key_old_mode |
|
static int | key_leds |
|
static unsigned char | key_state [128] |
|
static unsigned short | key_buffer [KEY_BUFFER_SIZE] |
|
static unsigned short | key_head |
|
static unsigned short | key_tail |
|
static int(* | old_getch )(void) |
|
static void(* | gfx_save )(void) |
|
static void(* | gfx_restore )(void) |
|
static void(* | gfx_key_handler )(int, int, int, int) |
|
static const char | pad_numlock_ascii [NUM_PAD_KEYS] = "0123456789+-*/\r,." |
|
static const char | pad_ascii [NUM_PAD_KEYS] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '+', '-', '*', '/', '\r', 0, 0 } |
|
static const unsigned char | kernel_to_scancode [] |
|
#define KEY_BUFFER_SIZE 16 |
int fb_ConsoleMultikey |
( |
int |
scancode) | |
|
int fb_hConsoleGfxMode |
( |
void(*)(void) |
gfx_exit, |
|
|
void(*)(void) |
save, |
|
|
void(*)(void) |
restore, |
|
|
void(*)(int, int, int, int) |
key_handler |
|
) |
| |
static int keyboard_console_getch |
( |
void |
) | |
|
|
static |
static void keyboard_console_handler |
( |
void |
) | |
|
|
static |
static void keyboard_exit |
( |
void |
) | |
|
|
static |
static int keyboard_init |
( |
void |
) | |
|
|
static |
static void keyboard_x11_handler |
( |
void |
) | |
|
|
static |
void(* gfx_key_handler)(int, int, int, int) |
|
static |
void(* gfx_restore)(void) |
|
static |
const unsigned char kernel_to_scancode[] |
|
static |
unsigned char key_state[128] |
|
static |
const char pad_ascii[NUM_PAD_KEYS] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '+', '-', '*', '/', '\r', 0, 0 } |
|
static |
const char pad_numlock_ascii[NUM_PAD_KEYS] = "0123456789+-*/\r,." |
|
static |