fd406fe
Pinchord · pinchord.git · Tickets · Changelog
Branches > serial-mods > fd406fe > files / plover-description.md
Add undoable modifiers
Commit: fd406fe0680db447459642c7ea150196547e7d1c
Parent: 3a5bed0
2 changed files:
generate-mods.clj view file
@@ -145,10 +145,13 @@ "PFS" "]" "^PFS" "\\}" }- :shortcuts {"LS" "tab" ; \t- "RK" "backspace" "^RK" "delete"- "RF" "return" ; \n- "LPF" "escape"}})+ :shortcuts {"RK" "backspace" "^RK" "delete"+ ; "RF" "return" ; \n+ "LPF" "escape"}+ :mod-shortcuts {"RF" {:no-mods "\n"+ :with-mods "return"}+ "LS" {:no-mods "\t"+ :with-mods "tab"}}}) (def vowel-chords {"A" ["control"]@@ -185,7 +188,7 @@ (def symbols-dict (->map- (let [{:keys [starter chords shortcuts]} symbols]+ (let [{:keys [starter chords shortcuts mod-shortcuts]} symbols] [(for [[mod symbol] chords [chord combo] vowel-chords] [@@ -198,6 +201,15 @@ (str starter chord mod) (apply-mods shortcut combo) (str "+" starter chord mod) (apply-mods shortcut combo) ])+ (for [[mod {:keys [no-mods with-mods]}] mod-shortcuts]+ [+ ; TODO need to add repitition for these?+ [(str starter "-" mod) no-mods+ (str "+" starter "-" mod) no-mods]+ (for [[chord combo] vowel-chords]+ [(str starter chord mod) (apply-mods with-mods combo)+ (str "+" starter chord mod) (apply-mods with-mods combo)])+ ]) (for [[mod symbol] chords] [ ; the 4 combos of T* with and without eplover_pinchord/dictionaries/pinchord-mods-v30.0.json view file
@@ -1 +1 @@