FreeBASIC  0.91.0
io_multikey.c File Reference
#include "../fb.h"
#include "fb_private_console.h"
#include <pc.h>
#include <go32.h>
#include <dpmi.h>
#include <sys/farptr.h>
Include dependency graph for io_multikey.c:

Go to the source code of this file.

Functions

static void end_fb_ConsoleMultikey (void)
 
static __inline__ int fb_hWriteControlCommand (unsigned char uchValue)
 
static int fb_MultikeyHandler (unsigned irq_number)
 
 END_OF_STATIC_FUNCTION (fb_MultikeyHandler)
 
static void fb_ConsoleMultikeyExit (void)
 
void fb_ConsoleMultikeyInit (void)
 
int fb_ConsoleMultikey (int scancode)
 
 END_OF_FUNCTION (fb_ConsoleMultikey)
 

Variables

void(* __fb_dos_multikey_hook )(int scancode, int flags) = NULL
 
static int inited = FALSE
 
static volatile char key [128]
 
static volatile int got_extended_key = FALSE
 

Function Documentation

static void end_fb_ConsoleMultikey ( void  )
static
END_OF_FUNCTION ( fb_ConsoleMultikey  )
END_OF_STATIC_FUNCTION ( fb_MultikeyHandler  )
int fb_ConsoleMultikey ( int  scancode)

Definition at line 189 of file io_multikey.c.

Here is the caller graph for this function:

static void fb_ConsoleMultikeyExit ( void  )
static

Definition at line 155 of file io_multikey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void fb_ConsoleMultikeyInit ( void  )

Definition at line 166 of file io_multikey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static __inline__ int fb_hWriteControlCommand ( unsigned char  uchValue)
static

Definition at line 19 of file io_multikey.c.

Here is the caller graph for this function:

static int fb_MultikeyHandler ( unsigned  irq_number)
static

Definition at line 30 of file io_multikey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

void(* __fb_dos_multikey_hook)(int scancode, int flags) = NULL

Definition at line 10 of file io_multikey.c.

volatile int got_extended_key = FALSE
static

Definition at line 16 of file io_multikey.c.

int inited = FALSE
static

Definition at line 14 of file io_multikey.c.

volatile char key[128]
static

Definition at line 15 of file io_multikey.c.