Switch to treating ctrl+x as control characters

This commit is contained in:
pjht 2024-09-15 17:06:03 -05:00
parent 6ffbeae625
commit f340302150
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -59,7 +59,7 @@ impl file_rpc::Server for FileServ {
}
static SCANDODE_DECODER: Mutex<ScancodeSet2> = Mutex::new(ScancodeSet2::new());
static EVENT_DECODER: Mutex<EventDecoder<Us104Key>> = Mutex::new(EventDecoder::new(Us104Key, HandleControl::Ignore));
static EVENT_DECODER: Mutex<EventDecoder<Us104Key>> = Mutex::new(EventDecoder::new(Us104Key, HandleControl::MapLettersToUnicode));
fn process_keyboard_data() {
let mut scancode_decoder = SCANDODE_DECODER.lock();