Remove references to bit flags

This commit is contained in:
Mo 2024-02-21 15:20:05 +01:00 committed by extrawurst
parent 2a2f914839
commit 8876c1d0f6

View File

@ -1,13 +1,8 @@
// bit for modifiers
// bits: 0 None
// bits: 1 SHIFT
// bits: 2 CONTROL
//
// Note: // Note:
// If the default key layout is lower case, // If the default key layout is lower case,
// and you want to use `Shift + q` to trigger the exit event, // and you want to use `Shift + q` to trigger the exit event,
// the setting should like this `exit: Some(( code: Char('Q'), modifiers: "SHIFT")),` // the setting should like this `exit: Some(( code: Char('Q'), modifiers: "SHIFT")),`
// The Char should be upper case, and the shift modified bit should be set to 1. // The Char should be upper case, and the modifier should be set to "SHIFT".
// //
// Note: // Note:
// find `KeysList` type in src/keys/key_list.rs for all possible keys. // find `KeysList` type in src/keys/key_list.rs for all possible keys.