Method
MksKeyboardpress
Declaration [src]
void
mks_keyboard_press (
MksKeyboard* self,
guint keycode,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Presses keycode.
This method completes asynchronously. Use mks_keyboard_press_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
keycode-
Type:
guintThe hardware keycode.
cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto execute upon completion.The argument can be NULL. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the method.