diff options
| author | Teddy Wing | 2018-08-23 17:29:27 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-08-23 17:29:27 +0200 |
| commit | c279039cb80719ae19b139618ba891778e67205e (patch) | |
| tree | 525e426d05e24bd47dd86555da441c44bd535efb /src | |
| parent | ba97dc5f57da049f9cada870000bffe556dec38a (diff) | |
| download | dome-key-map-c279039cb80719ae19b139618ba891778e67205e.tar.bz2 | |
cocoa_bridge: Add some ideas for how to make the bridge work
It's feeling like creating Cocoa objects in Rust is going to be a pain.
Thinking I might want to make the API a little more black box-y and do
more on the Rust side. These are some notes for ideas about how to do
that.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cocoa_bridge.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cocoa_bridge.rs b/src/cocoa_bridge.rs index ea88661..c534aed 100644 --- a/src/cocoa_bridge.rs +++ b/src/cocoa_bridge.rs @@ -28,6 +28,12 @@ map <down> j"; } } +// Different method: +// Call Rust function with trigger +// Return keys to press +// or run command (from Rust?) +// Somehow: switch mode inside Rust + mod tests { use super::*; |
