TcrSdk-Windows V1.0
keyboard.h
Go to the documentation of this file.
1#ifndef TCRSDK_KEYBOARD_H_
2#define TCRSDK_KEYBOARD_H_
3
4#include<stdint.h>
5#include "async_callback.h"
6
11{
12public:
19 virtual void OnKeyboard(int32_t keycode, bool down) const = 0;
20
30 virtual void OnKeyboard(int32_t keycode, bool down, bool isLeft) const = 0;
31
37 virtual void CheckKeyboardCapsLock(std::shared_ptr<AsyncCallback> callback) const = 0;
38
42 virtual void ResetKeyboardCapsLock() const = 0;
43
49 virtual void ResetKeyboard() const = 0;
50};
51#endif
52
This interface is used to interact with the virtual Keyboard device on the server.
Definition keyboard.h:11
virtual void CheckKeyboardCapsLock(std::shared_ptr< AsyncCallback > callback) const =0
Query the capitalization status of the cloud virtual keyboard.
virtual void ResetKeyboardCapsLock() const =0
Reset the capitalization status (to lowercase) of the cloud virtual keyboard.
virtual void ResetKeyboard() const =0
Reset the key status of the cloud keyboard.
virtual void OnKeyboard(int32_t keycode, bool down, bool isLeft) const =0
Trigger a key event of the cloud keyboard.
virtual void OnKeyboard(int32_t keycode, bool down) const =0
Trigger a key event of the cloud keyboard.