diff options
| author | Teddy Wing | 2018-10-27 08:50:01 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-27 08:50:01 +0200 | 
| commit | c92c884c5a0ca916dbd3e9f7218e6c0a75108b6b (patch) | |
| tree | 8f7a5865ff68e8e7c6f28d67118e0ad7b4999859 | |
| parent | 2000d7b990e58467a73fb2a6c0c61363d486e006 (diff) | |
| download | dome-key-map-c92c884c5a0ca916dbd3e9f7218e6c0a75108b6b.tar.bz2 | |
run_key_action_for_mode(): Remove `sample_maps`
No longer used since we get maps from `State`.
| -rw-r--r-- | src/cocoa_bridge.rs | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/src/cocoa_bridge.rs b/src/cocoa_bridge.rs index 610a2e5..91c6a94 100644 --- a/src/cocoa_bridge.rs +++ b/src/cocoa_bridge.rs @@ -134,14 +134,6 @@ pub extern "C" fn run_key_action_for_mode<'a>(      trigger: &'a [HeadphoneButton],      in_mode: Option<&[HeadphoneButton]>  ) { -    let sample_maps = "map <up> k -map <down> j -map <play><down> works! -mode <play><up> { -    map <down> hello -} -"; -      // Figure out how to persist this without re-parsing      // let map_group = MapGroup::parse(sample_maps).unwrap();      match state.map_group { | 
