diff --git a/src/main.rs b/src/main.rs index 0c4c7a5..fb6b54e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,6 +131,7 @@ fn handle_packet(packet: OscPacket, mappings: &HashMap) { // Press key println!("Pressing key: {:?}", reaction.key); reaction.key.press(); + reaction.key.release(); } OscPacket::Bundle(bundle) => { println!("OSC Bundle: {:?}", bundle);