|
| EFI_STATUS EFIAPI | VirtualKeyboardDriverBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardDriverBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardDriverBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardComponentNameGetDriverName (IN EFI_COMPONENT_NAME_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardComponentNameGetControllerName (IN EFI_COMPONENT_NAME_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardReset (IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardResetEx (IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN BOOLEAN ExtendedVerification) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardSetState (IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_KEY_TOGGLE_STATE *KeyToggleState) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardRegisterKeyNotify (IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_KEY_DATA *KeyData, IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction, OUT VOID **NotifyHandle) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardUnregisterKeyNotify (IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN VOID *NotificationHandle) |
| |
| EFI_STATUS | VirtualKeyboardFreeNotifyList (IN OUT LIST_ENTRY *ListHead) |
| |
| BOOLEAN | IsKeyRegistered (IN EFI_KEY_DATA *RegsiteredData, IN EFI_KEY_DATA *InputData) |
| |
| VOID EFIAPI | VirtualKeyboardWaitForKey (IN EFI_EVENT Event, IN VOID *Context) |
| |
| VOID EFIAPI | VirtualKeyboardWaitForKeyEx (IN EFI_EVENT Event, IN VOID *Context) |
| |
| VOID EFIAPI | VirtualKeyboardTimerHandler (IN EFI_EVENT Event, IN VOID *Context) |
| |
| VOID EFIAPI | KeyNotifyProcessHandler (IN EFI_EVENT Event, IN VOID *Context) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardReadKeyStroke (IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, OUT EFI_INPUT_KEY *Key) |
| |
| EFI_STATUS EFIAPI | VirtualKeyboardReadKeyStrokeEx (IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, OUT EFI_KEY_DATA *KeyData) |
| |
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
Copyright (c) 2018, Linaro Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VirtualKeyboard.h.
Check if key is registered.
- Parameters
-
| RegsiteredData | A pointer to a buffer that is filled in with the keystroke state data for the key that was registered. |
| InputData | A pointer to a buffer that is filled in with the keystroke state data for the key that was pressed. |
- Return values
-
| TRUE | Key be pressed matches a registered key. |
| FALSE | Match failed. |
Judge whether is a registed key
- Parameters
-
| RegsiteredData | A pointer to a buffer that is filled in with the keystroke state data for the key that was registered. |
| InputData | A pointer to a buffer that is filled in with the keystroke state data for the key that was pressed. |
- Return values
-
| TRUE | Key be pressed matches a registered key. |
| FALSE | Match failed. |
Judge whether is a registered key
- Parameters
-
| RegsiteredData | A pointer to a buffer that is filled in with the keystroke state data for the key that was registered. |
| InputData | A pointer to a buffer that is filled in with the keystroke state data for the key that was pressed. |
- Return values
-
| TRUE | Key be pressed matches a registered key. |
| FALSE | Match failed. |
Check whether the pressed key matches a registered key or not.
- Parameters
-
| RegsiteredData | A pointer to keystroke data for the key that was registered. |
| InputData | A pointer to keystroke data for the key that was pressed. |
- Return values
-
| TRUE | Key pressed matches a registered key. |
| FALSE | Key pressed does not matches a registered key. |
Test if the key has been registered on input device.
- Parameters
-
| RegsiteredData | A pointer to a buffer that is filled in with the keystroke state data for the key that was registered. |
| InputData | A pointer to a buffer that is filled in with the keystroke state data for the key that was pressed. |
- Return values
-
| TRUE | Key be pressed matches a registered key. |
| FALSE | Match failed. |
Check if the key already has been registered.
If both RegsiteredData and InputData is NULL, then ASSERT().
- Parameters
-
| RegsiteredData | A pointer to a buffer that is filled in with the keystroke state data for the key that was registered. |
| InputData | A pointer to a buffer that is filled in with the keystroke state data for the key that was pressed. |
- Return values
-
| TRUE | Key be pressed matches a registered key. |
| FALSE | Match failed. |
Definition at line 448 of file VirtualKeyboard.c.
Retrieves a Unicode string that is the user readable name of the controller that is being managed by a driver.
This function retrieves the user readable name of the controller specified by ControllerHandle and ChildHandle in the form of a Unicode string. If the driver specified by This has a user readable name in the language specified by Language, then a pointer to the controller name is returned in ControllerName, and EFI_SUCCESS is returned. If the driver specified by This is not currently managing the controller specified by ControllerHandle and ChildHandle, then EFI_UNSUPPORTED is returned. If the driver specified by This does not support the language specified by Language, then EFI_UNSUPPORTED is returned.
- Parameters
-
| This[in] | A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or EFI_COMPONENT_NAME_PROTOCOL instance. |
| ControllerHandle[in] | The handle of a controller that the driver specified by This is managing. This handle specifies the controller whose name is to be returned. |
| ChildHandle[in] | The handle of the child controller to retrieve the name of. This is an optional parameter that may be NULL. It will be NULL for device drivers. It will also be NULL for a bus drivers that wish to retrieve the name of the bus controller. It will not be NULL for a bus driver that wishes to retrieve the name of a child controller. |
| Language[in] | A pointer to a Null-terminated ASCII string array indicating the language. This is the language of the driver name that the caller is requesting, and it must match one of the languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified in RFC 4646 or ISO 639-2 language code format. |
| ControllerName[out] | A pointer to the Unicode string to return. This Unicode string is the name of the controller specified by ControllerHandle and ChildHandle in the language specified by Language from the point of view of the driver specified by This. |
- Return values
-
| EFI_SUCCESS | The Unicode string for the user readable name in the language specified by Language for the driver specified by This was returned in DriverName. |
| EFI_INVALID_PARAMETER | ControllerHandle is NULL. |
| EFI_INVALID_PARAMETER | ChildHandle is not NULL and it is not a valid EFI_HANDLE. |
| EFI_INVALID_PARAMETER | Language is NULL. |
| EFI_INVALID_PARAMETER | ControllerName is NULL. |
| EFI_UNSUPPORTED | The driver specified by This is not currently managing the controller specified by ControllerHandle and ChildHandle. |
| EFI_UNSUPPORTED | The driver specified by This does not support the language specified by Language. |
Definition at line 171 of file ComponentName.c.
Retrieves a Unicode string that is the user readable name of the driver.
This function retrieves the user readable name of a driver in the form of a Unicode string. If the driver specified by This has a user readable name in the language specified by Language, then a pointer to the driver name is returned in DriverName, and EFI_SUCCESS is returned. If the driver specified by This does not support the language specified by Language, then EFI_UNSUPPORTED is returned.
- Parameters
-
| This[in] | A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or EFI_COMPONENT_NAME_PROTOCOL instance. |
| Language[in] | A pointer to a Null-terminated ASCII string array indicating the language. This is the language of the driver name that the caller is requesting, and it must match one of the languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. Language is specified in RFC 4646 or ISO 639-2 language code format. |
| DriverName[out] | A pointer to the Unicode string to return. This Unicode string is the name of the driver specified by This in the language specified by Language. |
- Return values
-
| EFI_SUCCESS | The Unicode string for the Driver specified by This and the language specified by Language was returned in DriverName. |
| EFI_INVALID_PARAMETER | Language is NULL. |
| EFI_INVALID_PARAMETER | DriverName is NULL. |
| EFI_UNSUPPORTED | The driver specified by This does not support the language specified by Language. |
Definition at line 86 of file ComponentName.c.