aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-29 23:44:49 +0100
committerTeddy Wing2018-10-29 23:44:49 +0100
commitce022122b89c2e9bee28963d37b54de0101ac4d1 (patch)
tree4414909296d441f6eea958cd6a627e0c3adfd555 /src/parser.rs
parenta8ed0e740b41eb6cc08151f33911d5c8a7866727 (diff)
downloaddome-key-map-ce022122b89c2e9bee28963d37b54de0101ac4d1.tar.bz2
KeyboardKeyWithModifiers.tap(): Remove old commented code
This idea is replaced by code from 'autopilot', which lives in the `autopilot_internal` module.
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 1ad5fd0..fe56fca 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -92,10 +92,6 @@ impl KeyboardKeyWithModifiers {
autopilot::key::tap(k.0, &self.flags, 0)
},
KeyboardKey::NXKey(nx) => {
- // let flags = self.flags.iter().fold(
- // CGEventFlags::CGEventFlagNull,
- // |acc, f| acc | cg_event_flags_from_flag(f)
- // );
let flags = cg_event_mask_for_flags(&self.flags);
unsafe {