doc: research

This commit is contained in:
eneller committed 2025-12-17 20:18:51 +01:00
1 parent 881a723f4e
commit cade0046bf
2 files changed
+13 -2

No files matched your search

+10 -2
View File
@@ -5,8 +5,16 @@ On Windows, Tauri requires the the msvc toolchain:
rustup default stable-msvc
```
## Recommended IDE Setup
[VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) + [Angular Language Service](https://marketplace.visualstudio.com/items?itemName=Angular.ng-template).
## Keyboard Emulation
Keyboard emulation on most systems requires workarounds for two issues:
- keeping the window with the keyboard on top while another (the input target) is in focus
- not receiving focus when clicked
- sending input
### Windows
To keep the window on top: [PowerToys Always on top](https://learn.microsoft.com/en-us/windows/powertoys/always-on-top).
To [send input](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput), inspired by [dpurgin/osk](https://github.com/dpurgin/osk).
+3
View File
@@ -53,6 +53,9 @@ pub fn run() {
.setup(|app| {
#[cfg_attr(not(target_os = "linux"), allow(unused_variables))]
let window = app.get_webview_window("main").unwrap();
#[cfg(target_os = "windows")]
{
}
#[cfg(target_os = "linux")]
{
use x11::xlib;