doc: add procedure
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -42,4 +42,4 @@ testem.log
|
||||
Thumbs.db
|
||||
|
||||
TextTestExe/
|
||||
data/
|
||||
data/raw
|
||||
3
data/results.csv
Normal file
3
data/results.csv
Normal 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,
|
||||
|
12
doc/procedure.md
Normal file
12
doc/procedure.md
Normal 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
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user