Default laptop key set to capslock. Keys that can be set to fenrir key or script key selectable via checkbox.
This commit is contained in:
1 parent
47f18fdd28
commit
15e04aa8f8
47 files changed
+1560
-351
No files matched your search
@@ -95,7 +95,7 @@ func TestTimeDateDoublePress(t *testing.T) {
|
||||
|
||||
func TestDoubleCommandValidationAndRemapping(t *testing.T) {
|
||||
for _, doubleCommand := range []command.ID{command.Date, "unknown"} {
|
||||
router, err := New_router([]Binding{{Name: "Clock", Keys: []string{"FENRIR", "G"}, Command: command.Time, DoubleCommand: doubleCommand}})
|
||||
router, err := New_router(Layout{Bindings: []Binding{{Name: "Clock", Keys: []string{"FENRIR", "G"}, Command: command.Time, DoubleCommand: doubleCommand}}})
|
||||
if doubleCommand == "unknown" {
|
||||
if err == nil {
|
||||
t.Fatal("unknown double command accepted")
|
||||
|
||||
Reference in new issue
Block a user