C# Class SharpOS.Kernel.ADC.X86.Keyboard

Mostrar archivo Open project: sharpos/SharpOS

Public Methods

Method Description
CapsLock ( ) : bool
GetCurrentDefaultTable ( int ret_len ) : byte*
GetCurrentShiftedTable ( int ret_len ) : byte*
LeftAlt ( ) : bool
LeftControl ( ) : bool
LeftShift ( ) : bool
NumLock ( ) : bool
RegisterKeyDownEvent ( uint address ) : EventRegisterStatus
RegisterKeyUpEvent ( uint address ) : EventRegisterStatus
RightAlt ( ) : bool
RightControl ( ) : bool
RightShift ( ) : bool
ScrollLock ( ) : bool
SetKeyMap ( byte defMap, int defLen, byte shiftMap, int shiftLen ) : void
SetLEDs ( ) : void
Setup ( ) : void
Translate ( uint scancode, bool shifted ) : byte

Private Methods

Method Description
KeyboardHandler ( IDT data ) : void
SendCommand ( KeyboardCommands command ) : void
SendCommand ( KeyboardCommands command, byte value ) : void
WaitUntilReady ( ) : void

Method Details

CapsLock() public static method

public static CapsLock ( ) : bool
return bool

GetCurrentDefaultTable() public static method

public static GetCurrentDefaultTable ( int ret_len ) : byte*
ret_len int
return byte*

GetCurrentShiftedTable() public static method

public static GetCurrentShiftedTable ( int ret_len ) : byte*
ret_len int
return byte*

LeftAlt() public static method

public static LeftAlt ( ) : bool
return bool

LeftControl() public static method

public static LeftControl ( ) : bool
return bool

LeftShift() public static method

public static LeftShift ( ) : bool
return bool

NumLock() public static method

public static NumLock ( ) : bool
return bool

RegisterKeyDownEvent() public static method

public static RegisterKeyDownEvent ( uint address ) : EventRegisterStatus
address uint
return EventRegisterStatus

RegisterKeyUpEvent() public static method

public static RegisterKeyUpEvent ( uint address ) : EventRegisterStatus
address uint
return EventRegisterStatus

RightAlt() public static method

public static RightAlt ( ) : bool
return bool

RightControl() public static method

public static RightControl ( ) : bool
return bool

RightShift() public static method

public static RightShift ( ) : bool
return bool

ScrollLock() public static method

public static ScrollLock ( ) : bool
return bool

SetKeyMap() public static method

public static SetKeyMap ( byte defMap, int defLen, byte shiftMap, int shiftLen ) : void
defMap byte
defLen int
shiftMap byte
shiftLen int
return void

SetLEDs() public static method

public static SetLEDs ( ) : void
return void

Setup() public static method

public static Setup ( ) : void
return void

Translate() public static method

public static Translate ( uint scancode, bool shifted ) : byte
scancode uint
shifted bool
return byte