From ce022122b89c2e9bee28963d37b54de0101ac4d1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 29 Oct 2018 23:44:49 +0100 Subject: KeyboardKeyWithModifiers.tap(): Remove old commented code This idea is replaced by code from 'autopilot', which lives in the `autopilot_internal` module. --- src/parser.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/parser.rs') 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 { -- cgit v1.2.3