Skip to content

Tool for converting and massaging twiddler configs

Notifications You must be signed in to change notification settings

DDRBoxman/twiddler-cfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twiddler-cfg

Tool for converting and massaging twiddler configs!

Convert a v5 to v7 file and make sure that shift works

./twiddler_cfg --generate-caps 4 ./configs/backspice2_v5.cfg ./backspicev2_v7.cfg

Help

./twiddler_cfg --help

Convert Twiddler v5 configs to Twiddler v7 configs

Usage: twiddler_cfg [OPTIONS] <INPUT> <OUTPUT>

Arguments:
  <INPUT>
  <OUTPUT>

Options:
  -g, --generate-caps <GENERATE_CAPS>  Generate upper case versions of chords with shift, 1 2 3 or 4 for the thumb key that should act as shift
  -h, --help                           Print help
  -V, --version                        Print version

Roadmap

  • Read v5 configs
  • Read v6 configs
  • Write v6 configs
  • Read v7 configs
  • Write v7 configs
  • Chord mappings
  • v5 global config (mouse accel, mouse clicks, etc.)
  • v6 global config (mouse accel, mouse clicks, etc.)
  • Ensure output has default system chords
  • Read CSV
  • Write CSV
  • Read dido text format
  • Write dido format
  • Ability to autogenerate shift chords for uppercase letters

Development stuff

Run directly from cargo

cargo run -- ./configs/backspice2_v5.cfg ./test.cfg

Coolhand

cargo run -- --generate-caps 4 ./configs/CoolHand.txt ./coolhand_v7_caps.cfg

Run tests logging output

cargo test -- --nocapture

About

Tool for converting and massaging twiddler configs

Resources

Stars

Watchers

Forks

Languages