diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cocoa_bridge.rs | 3 | ||||
| -rw-r--r-- | src/lib.rs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cocoa_bridge.rs b/src/cocoa_bridge.rs index 5f6cee7..6e1a41b 100644 --- a/src/cocoa_bridge.rs +++ b/src/cocoa_bridge.rs @@ -3,6 +3,7 @@ use std::mem; use std::ptr; use std::slice; +use autopilot::key::type_string; // use cocoa::base::nil; // use cocoa::foundation::{NSArray, NSAutoreleasePool, NSDictionary}; use libc::{c_char, size_t}; @@ -258,6 +259,8 @@ mode <play><up> { if let Some(map) = map { return match map.kind { MapKind::Map => { + type_string(&map.action, &[], 0.0, 0.0); + Some( KeyActionResult::new(ActionKind::Map) .with_action(&map.action) @@ -1,3 +1,4 @@ +extern crate autopilot; // extern crate cocoa; #[macro_use] |
