mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #27114 - paulrouget:key_events, r=jdm
[UWP] Key events This is the initial work required for proper keyboard events. The text controller implementation is very basic, just enough to show the virtual keyboard when it's needed, and have basic key events.
This commit is contained in:
commit
db00c1f96e
20 changed files with 257 additions and 28 deletions
|
@ -62,6 +62,8 @@ public:
|
|||
void TouchMove(float x, float y, int32_t id) { touch_move(x, y, id); }
|
||||
void TouchCancel(float x, float y, int32_t id) { touch_cancel(x, y, id); }
|
||||
void MouseMove(float x, float y) { mouse_move(x, y); }
|
||||
void KeyDown(const char *k) { key_down(k); }
|
||||
void KeyUp(const char *k) { key_up(k); }
|
||||
|
||||
void Reload() { reload(); }
|
||||
void Stop() { stop(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue