ui/keypress.c File Reference

#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "fix.h"
#include "types.h"
#include "gr.h"
#include "ui.h"
#include "key.h"

Functions

void GetKeyDescription (char *text, int keypress)
int DecodeKeyText (char *text)
int GetKeyCode (char *text)

Variables

char * KeyDesc [256]

Function Documentation

int DecodeKeyText char *  text  ) 
 

int GetKeyCode char *  text  ) 
 

void GetKeyDescription char *  text,
int  keypress
 


Variable Documentation

char* KeyDesc[256]
 

Initial value:

 {         
"","{Esc}","{1}","{2}","{3}","{4}","{5}","{6}","{7}","{8}","{9}","{0}","{-}",           
"{=}","{Backspace}","{Tab}","{Q}","{W}","{E}","{R}","{T}","{Y}","{U}","{I}","{O}",      
"{P}","{[}","{]}","{Enter}","{LeftCtrl}","{A}","{S}","{D}","{F}",        
"{G}","{H}","{J}","{K}","{L}","{;}","{'}","{`}",        
"{RightShift}","{\\}","{Z}","{X}","{C}","{V}","{B}","{N}","{M}","{,}",      
"{.}","{/}","{LeftShift}","{Pad*}","{LeftAlt}","{Spacebar}",      
"{CapsLock}","{F1}","{F2}","{F3}","{F4}","{F5}","{F6}","{F7}","{F8}","{F9}",        
"{F10}","{NumLock}","{ScrollLock}","{Pad7}","{Pad8}","{Pad9}","{Pad-}",   
"{Pad4}","{Pad5}","{Pad6}","{Pad+}","{Pad1}","{Pad2}","{Pad3}","{Pad0}", 
"{Pad.}","","","","{F11}","{F12}","","","","","","","","","",         
"","","","","","","","","","","","","","","","","","","","",     
"","","","","","","","","","","","","","","","","","","","",     
"","","","","","","","","","","","","","","","","","",           
"{PadEnter}","{RightCtrl}","","","","","","","","","","","","","", 
"","","","","","","","","","","{Pad/}","","","{RightAlt}","",      
"","","","","","","","","","","","","","{Home}","{Up}","{PageUp}",     
"","{Left}","","{Right}","","{End}","{Down}","{PageDown}","{Insert}",       
"{Delete}","","","","","","","","","","","","","","","","","",     
"","","","","","","","","","","","","","","","","","","","",     
"","","","","","","" }


Generated on Mon Aug 28 20:55:34 2006 for D1X-Rebirth by  doxygen 1.4.6