doc: add procedure

This commit is contained in:
eneller
2026-01-28 19:29:08 +01:00
parent 8aca73cd9c
commit d1d9a782f8
4 changed files with 17 additions and 7 deletions

2
.gitignore vendored
View File

@@ -42,4 +42,4 @@ testem.log
Thumbs.db
TextTestExe/
data/
data/raw

3
data/results.csv Normal file
View File

@@ -0,0 +1,3 @@
id,age,sequence,wpm_querty,ter_qwerty,wpm_dvorak,ter_dvorak,wpm_circle,ter_circle
en, 24, qwerty-dvorak-circle,
la, 25, qwerty-circle-dvorak,
1 id,age,sequence,wpm_querty,ter_qwerty,wpm_dvorak,ter_dvorak,wpm_circle,ter_circle
2 en, 24, qwerty-dvorak-circle,
3 la, 25, qwerty-circle-dvorak,

12
doc/procedure.md Normal file
View File

@@ -0,0 +1,12 @@
# Procedure
1. Open `TestTestExe`
2. Go to `Test > Options`:
1. Tab `Auto`: Stop test after Trial **13**, Switch to test mode after trial **3**
2. Tab `Prevention`: Prevent **Punctuation, numbers, capitals**
3. determine keyboard testing sequence
4. ask participant age
5. Repeat for each keyboard:
1. Set keyboard
2. Participant fulfills typing task
3. Note down `wpm` and `ter` in results.csv
6. Present reduced NASA-TLX

View File

@@ -4,11 +4,6 @@ use std::ptr;
use tauri::Manager;
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}
#[tauri::command]
fn send_key(key: String) -> Result<(), String> {
let mut enigo = Enigo::new(&Settings::default()).map_err(|e| format!("Enigo error: {}", e))?;
@@ -118,7 +113,7 @@ pub fn run() {
Ok(())
})
.plugin(tauri_plugin_opener::init())
.invoke_handler(tauri::generate_handler![greet, send_key])
.invoke_handler(tauri::generate_handler![send_key])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}