first half of init

This commit is contained in:
Nickiel 2024-03-25 16:27:54 -07:00
commit fdfcf9b3f8
5 changed files with 2467 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/target
settings.toml

2418
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

15
Cargo.toml Normal file
View file

@ -0,0 +1,15 @@
[package]
name = "joystick-controller-client"
version = "1.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-channel = "2.2.0"
config = "0.14.0"
gilrs = "0.10.6"
gtk = { version = "0.8.1", package = "gtk4", features = ["v4_12"] }
serde = { version = "1.0.197", features = ["derive"] }
toml = "0.8.12"
websocket = "0.27.0"

2
settings.toml Normal file
View file

@ -0,0 +1,2 @@
ip = "localhost"
port = 8765

30
style.css Normal file
View file

@ -0,0 +1,30 @@
entry {
font-size: 16pt;
}
label.NoConnection {
background-color: brown;
color: whitesmoke;
}
button.NoConnection {
color: black;
}
label.YesConnection {
color: whitesmoke;
background-color: green;
}
button.YesConnection {
color: green;
}
label.JoystickCurrent {
font-size: 24pt;
}
button {
color: black;
font-size: 16pt
}