doc: add procedure
This commit is contained in:
1 parent
8aca73cd9c
commit
d1d9a782f8
4 files changed
+17
-7
No files matched your search
+1
-1
@@ -42,4 +42,4 @@ testem.log
|
|||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
TextTestExe/
|
TextTestExe/
|
||||||
data/
|
data/raw
|
||||||
@@ -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,
|
||||||
|
@@ -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;
|
use tauri::Manager;
|
||||||
|
|
||||||
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
|
// 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]
|
#[tauri::command]
|
||||||
fn send_key(key: String) -> Result<(), String> {
|
fn send_key(key: String) -> Result<(), String> {
|
||||||
let mut enigo = Enigo::new(&Settings::default()).map_err(|e| format!("Enigo error: {}", e))?;
|
let mut enigo = Enigo::new(&Settings::default()).map_err(|e| format!("Enigo error: {}", e))?;
|
||||||
@@ -118,7 +113,7 @@ pub fn run() {
|
|||||||
Ok(())
|
Ok(())
|
||||||
})
|
})
|
||||||
.plugin(tauri_plugin_opener::init())
|
.plugin(tauri_plugin_opener::init())
|
||||||
.invoke_handler(tauri::generate_handler![greet, send_key])
|
.invoke_handler(tauri::generate_handler![send_key])
|
||||||
.run(tauri::generate_context!())
|
.run(tauri::generate_context!())
|
||||||
.expect("error while running tauri application");
|
.expect("error while running tauri application");
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user