aboutsummaryrefslogtreecommitdiffstats
path: root/src/key_code.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-28 19:53:50 +0100
committerTeddy Wing2018-10-28 19:53:50 +0100
commite8ba4dc878a44f14e656664fa2e9d0ea362cbc10 (patch)
tree000e1b8467b352f40c15a9502c61f8fad858b5e2 /src/key_code.rs
parenteb261f29d0ae15c2f941c2d84972bd321bf764ac (diff)
downloaddome-key-map-e8ba4dc878a44f14e656664fa2e9d0ea362cbc10.tar.bz2
Add `play_audio()` function
Create a new function that encapsulates the code we experimented with for playing audio. Clean up what we had and handle errors by passing them back in a `Result`. This allows us to encapsulate, audio playing so we can do it in a single action during mode switching.
Diffstat (limited to 'src/key_code.rs')
0 files changed, 0 insertions, 0 deletions