kb.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "kb.h"
#include "shell.h"

Include dependency graph for kb.c:

Go to the source code of this file.

Functions

static boolean keydown (short keycode, boolean flasync)
boolean iscmdperiodevent (long eventmessage, long eventwhat, long eventmodifiers)
boolean arrowkey (char chkb)
tydirection keystroketodirection (char ch)
static void kbsetstatus (long eventmessage, long eventwhat, long eventmodifiers, tykeystrokerecord *kbs)
void setkeyboardstatus (long eventmessage, long eventwhat, long eventmodifiers)
void keyboardclearescape (void)
void keyboardsetescape (void)
boolean keyboardescape (void)
boolean optionkeydown (void)
boolean cmdkeydown (void)
boolean shiftkeydown (void)
boolean controlkeydown (void)
void keyboardpeek (tykeystrokerecord *kbrecord)
short getkeyboardstartrepeattime (void)

Variables

tykeystrokerecord keyboardstatus
static boolean flescapepending = false
kbs = kbcurrent


Function Documentation

boolean arrowkey char  chkb  ) 
 

Definition at line 222 of file kb.c.

boolean cmdkeydown void   ) 
 

Definition at line 530 of file kb.c.

boolean controlkeydown void   ) 
 

Definition at line 541 of file kb.c.

References keydown().

Referenced by keyboardpeek().

Here is the call graph for this function:

short getkeyboardstartrepeattime void   ) 
 

Definition at line 591 of file kb.c.

boolean iscmdperiodevent long  eventmessage,
long  eventwhat,
long  eventmodifiers
 

Definition at line 128 of file kb.c.

References autoKey, keyDown, and nil.

Referenced by kbsetstatus(), keyboardescape(), osadefaultactiveproc(), and sharedmenueventfilter().

static void kbsetstatus long  eventmessage,
long  eventwhat,
long  eventmodifiers,
tykeystrokerecord kbs
[static]
 

Definition at line 258 of file kb.c.

References autoKey, chenter, tykeystrokerecord::chkb, chnul, ct, tykeystrokerecord::ctmodifiers, tykeystrokerecord::flalphalock, tykeystrokerecord::flautokey, tykeystrokerecord::flcmdkey, tykeystrokerecord::flcontrolkey, tykeystrokerecord::flkeypad, tykeystrokerecord::floptionkey, tykeystrokerecord::flshiftkey, iscmdperiodevent(), tykeystrokerecord::keycode, keycodeclear, keycodecomma, keycodedivide, keycodeeight, keycodeenter, keycodefive, keycodefour, keycodeminus, keycodenine, keycodeone, keycodeperiod, keycodeplus, keycodeseven, keycodesix, keycodethree, keycodetimes, keycodetwo, keycodezero, tykeystrokerecord::keydirection, keydown(), keystroketodirection(), mouseDown, nil, and nodirection.

Referenced by keyboardescape(), and setkeyboardstatus().

Here is the call graph for this function:

void keyboardclearescape void   ) 
 

Definition at line 432 of file kb.c.

boolean keyboardescape void   ) 
 

Definition at line 450 of file kb.c.

void keyboardpeek tykeystrokerecord kbrecord  ) 
 

Definition at line 548 of file kb.c.

void keyboardsetescape void   ) 
 

Definition at line 438 of file kb.c.

References flescapepending.

static boolean keydown short  keycode,
boolean  flasync
[static]
 

Definition at line 95 of file kb.c.

References keys.

tydirection keystroketodirection char  ch  ) 
 

Definition at line 237 of file kb.c.

boolean optionkeydown void   ) 
 

Definition at line 524 of file kb.c.

void setkeyboardstatus long  eventmessage,
long  eventwhat,
long  eventmodifiers
 

Definition at line 420 of file kb.c.

boolean shiftkeydown void   ) 
 

Definition at line 536 of file kb.c.


Variable Documentation

boolean flescapepending = false [static]
 

Definition at line 124 of file kb.c.

Referenced by keyboardclearescape(), keyboardescape(), and keyboardsetescape().

* kbs = kbcurrent
 

Definition at line 416 of file kb.c.

Referenced by kbsetstatus().

tykeystrokerecord keyboardstatus
 

Definition at line 122 of file kb.c.


Generated on Fri Jun 2 05:27:11 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6