-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sweep as keyboard option (#11)
* feat: add sweep as keyboard option * Format --------- Co-authored-by: Mark Skelton <[email protected]>
- Loading branch information
1 parent
0aea6ff
commit f3261cd
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use super::KeyboardLayout; | ||
|
||
pub fn get_layout() -> KeyboardLayout { | ||
#[rustfmt::skip] | ||
let bindings = vec![ | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
0, 0, 0, 1, 1, 1, 1, 0, 0, 0, | ||
]; | ||
|
||
return KeyboardLayout { bindings, row_count: 4 }; | ||
} |