diff options
author | Varphone Wong <varphone@qq.com> | 2024-03-12 18:06:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 11:06:08 +0100 |
commit | 827fdefd8343f0e92f203d7dfafa34cb5cf91cc7 (patch) | |
tree | be9522bb286254e2cc758c57009c0435284ab049 /examples/custom_keypad/screenshot.png | |
parent | 00a399b2f7eae6bcbe968bdaa7bb77689043bba2 (diff) |
eframe: Added `App::raw_input_hook` allows for the manipulation or filtering of raw input events (#4008)
# What's New
* eframe: Added `App::raw_input_hook` allows for the manipulation or
filtering of raw input events
A filter applied to raw input before [`Self::update`]
This allows for the manipulation or filtering of input events before
they are processed by egui.
This can be used to exclude specific keyboard shortcuts, mouse events,
etc.
Additionally, it can be used to add custom keyboard or mouse events
generated by a virtual keyboard.
* examples: Added an example to demonstrates how to implement a custom
virtual keyboard.
[eframe-custom-keypad.webm](https://github.com/emilk/egui/assets/1274171/a9dc8e34-2c35-4172-b7ef-41010b794fb8)
Diffstat (limited to 'examples/custom_keypad/screenshot.png')
-rw-r--r-- | examples/custom_keypad/screenshot.png | bin | 0 -> 39832 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/examples/custom_keypad/screenshot.png b/examples/custom_keypad/screenshot.png Binary files differnew file mode 100644 index 00000000..632459e5 --- /dev/null +++ b/examples/custom_keypad/screenshot.png |