C# 클래스 SharpOS.Kernel.KeyMap

파일 보기 프로젝트 열기: sharpos/SharpOS 1 사용 예제들

공개 메소드들

메소드 설명
GetBuiltinKeyMap ( CString8 name ) : void*

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.

GetBuiltinKeyMap ( PString8 name ) : void*

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.

GetBuiltinKeyMap ( byte name ) : void*

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.

GetBuiltinKeyMap ( int id ) : void*

Gets the address of a builtin key map, by it's numeric ID. Good for iterating through the list of builtin key maps.

GetBuiltinKeyMap ( string name ) : void*

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.

GetBuiltinKeyMapsCount ( ) : int

Gets the count of all builtin key maps.

GetCurrentKeyMap ( ) : void*

Gets the keymap currently in use.

GetCurrentKeyMapName ( ) : PString8*
GetDefaultTable ( int ret_len ) : byte*

Gets the `default' table of the installed keymap.

GetDefaultTable ( void keymap, int ret_len ) : byte*

Gets the `default' table of the given keymap.

GetKeyMask ( ) : byte

Gets the keymask of the installed keymap.

GetKeyMask ( void keymap ) : byte

Gets the keymask specified in the given keymap.

GetShiftedTable ( int ret_len ) : byte*

Gets the `shifted' table of the installed keymap.

GetShiftedTable ( void keymap, int ret_len ) : byte*

Gets the `shifted' table of the given keymap.

GetStateBit ( ) : byte

Gets the state bit of the installed keymap.

GetStateBit ( void keymap ) : byte

Gets the state bit specified in the given keymap.

SetDirectKeyMap ( void keymap ) : void

Installs the default and shifted key tables of the given keymap, so that all further keyboard scancodes are converted using the new mapping.

SetKeyMap ( CString8 name ) : void

Sets the current keymap to a built-in one specified by name.

SetKeyMap ( PString8 name ) : void

Sets the current keymap to a built-in one specified by name.

SetKeyMap ( byte name ) : void
SetKeyMap ( byte name, int len ) : void

Sets the current keymap to a built-in one specified by name.

SetKeyMapName ( byte str, int len ) : void
Setup ( ) : void

Locates the archive of built-in keymaps, parses the user-specified keymap from the kernel command line, and installs a default keymap.

WriteKeymaps ( ) : void

비공개 메소드들

메소드 설명
GetBuiltinKeyMap ( byte name, int nameLen ) : void*

메소드 상세

GetBuiltinKeyMap() 공개 정적인 메소드

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.
public static GetBuiltinKeyMap ( CString8 name ) : void*
name SharpOS.Kernel.Foundation.CString8 The name.
리턴 void*

GetBuiltinKeyMap() 공개 정적인 메소드

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.
public static GetBuiltinKeyMap ( PString8 name ) : void*
name SharpOS.Kernel.Foundation.PString8 The name.
리턴 void*

GetBuiltinKeyMap() 공개 정적인 메소드

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.
public static GetBuiltinKeyMap ( byte name ) : void*
name byte The name.
리턴 void*

GetBuiltinKeyMap() 공개 정적인 메소드

Gets the address of a builtin key map, by it's numeric ID. Good for iterating through the list of builtin key maps.
public static GetBuiltinKeyMap ( int id ) : void*
id int
리턴 void*

GetBuiltinKeyMap() 공개 정적인 메소드

Gets the address of a builtin keymap included in the kernel via the keymap archive resource in SharpOS.Kernel.dll. The archive is generated by the SharpOS keymap compiler.
public static GetBuiltinKeyMap ( string name ) : void*
name string The name.
리턴 void*

GetBuiltinKeyMapsCount() 공개 정적인 메소드

Gets the count of all builtin key maps.
public static GetBuiltinKeyMapsCount ( ) : int
리턴 int

GetCurrentKeyMap() 공개 정적인 메소드

Gets the keymap currently in use.
public static GetCurrentKeyMap ( ) : void*
리턴 void*

GetCurrentKeyMapName() 공개 정적인 메소드

public static GetCurrentKeyMapName ( ) : PString8*
리턴 PString8*

GetDefaultTable() 공개 정적인 메소드

Gets the `default' table of the installed keymap.
public static GetDefaultTable ( int ret_len ) : byte*
ret_len int
리턴 byte*

GetDefaultTable() 공개 정적인 메소드

Gets the `default' table of the given keymap.
public static GetDefaultTable ( void keymap, int ret_len ) : byte*
keymap void
ret_len int
리턴 byte*

GetKeyMask() 공개 정적인 메소드

Gets the keymask of the installed keymap.
public static GetKeyMask ( ) : byte
리턴 byte

GetKeyMask() 공개 정적인 메소드

Gets the keymask specified in the given keymap.
public static GetKeyMask ( void keymap ) : byte
keymap void
리턴 byte

GetShiftedTable() 공개 정적인 메소드

Gets the `shifted' table of the installed keymap.
public static GetShiftedTable ( int ret_len ) : byte*
ret_len int
리턴 byte*

GetShiftedTable() 공개 정적인 메소드

Gets the `shifted' table of the given keymap.
public static GetShiftedTable ( void keymap, int ret_len ) : byte*
keymap void
ret_len int
리턴 byte*

GetStateBit() 공개 정적인 메소드

Gets the state bit of the installed keymap.
public static GetStateBit ( ) : byte
리턴 byte

GetStateBit() 공개 정적인 메소드

Gets the state bit specified in the given keymap.
public static GetStateBit ( void keymap ) : byte
keymap void
리턴 byte

SetDirectKeyMap() 공개 정적인 메소드

Installs the default and shifted key tables of the given keymap, so that all further keyboard scancodes are converted using the new mapping.
public static SetDirectKeyMap ( void keymap ) : void
keymap void
리턴 void

SetKeyMap() 공개 정적인 메소드

Sets the current keymap to a built-in one specified by name.
public static SetKeyMap ( CString8 name ) : void
name SharpOS.Kernel.Foundation.CString8
리턴 void

SetKeyMap() 공개 정적인 메소드

Sets the current keymap to a built-in one specified by name.
public static SetKeyMap ( PString8 name ) : void
name SharpOS.Kernel.Foundation.PString8
리턴 void

SetKeyMap() 공개 정적인 메소드

public static SetKeyMap ( byte name ) : void
name byte
리턴 void

SetKeyMap() 공개 정적인 메소드

Sets the current keymap to a built-in one specified by name.
public static SetKeyMap ( byte name, int len ) : void
name byte
len int
리턴 void

SetKeyMapName() 공개 정적인 메소드

public static SetKeyMapName ( byte str, int len ) : void
str byte
len int
리턴 void

Setup() 공개 정적인 메소드

Locates the archive of built-in keymaps, parses the user-specified keymap from the kernel command line, and installs a default keymap.
public static Setup ( ) : void
리턴 void

WriteKeymaps() 공개 정적인 메소드

public static WriteKeymaps ( ) : void
리턴 void