egui/examples/custom_keypad
Varphone Wong 827fdefd83
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)
2024-03-12 11:06:08 +01:00
..
src eframe: Added `App::raw_input_hook` allows for the manipulation or filtering of raw input events (#4008) 2024-03-12 11:06:08 +01:00
Cargo.toml eframe: Added `App::raw_input_hook` allows for the manipulation or filtering of raw input events (#4008) 2024-03-12 11:06:08 +01:00
README.md eframe: Added `App::raw_input_hook` allows for the manipulation or filtering of raw input events (#4008) 2024-03-12 11:06:08 +01:00
screenshot.png eframe: Added `App::raw_input_hook` allows for the manipulation or filtering of raw input events (#4008) 2024-03-12 11:06:08 +01:00

README.md

Example showing how to implements a custom keypad.

cargo run -p custom_keypad