refacotor: simplify mod of keyboard

This commit is contained in:
Asura
2022-12-07 19:31:32 -08:00
committed by Chieh Wang
parent dff5d55f50
commit 176ed43807
6 changed files with 495 additions and 590 deletions

View File

@@ -6,8 +6,6 @@ use cpal::{
};
use magnum_opus::{Channels::*, Decoder as AudioDecoder};
use sha2::{Digest, Sha256};
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
use std::sync::atomic::Ordering;
use std::{
collections::HashMap,
net::SocketAddr,