Skip to content

Commit

Permalink
DirectInput delivery mechanism (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
veeenu authored Mar 5, 2024
1 parent 2bd4967 commit d031dfc
Show file tree
Hide file tree
Showing 5 changed files with 561 additions and 437 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ features = [
"Win32_System_Memory",
"Win32_System_Diagnostics_Debug",
"Win32_System_ProcessStatus",
"Win32_System_SystemInformation",
"Win32_System_Threading",
]

Expand Down
9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
set dotenv-load := true

check:
cargo +nightly xwin clippy --target x86_64-pc-windows-msvc --all

test *args:
cargo xwin test --target x86_64-pc-windows-msvc {{args}} -- --nocapture

install:
cargo xtask dist
cp jdsd_dsiii_practice_tool.toml \
"${DSIII_TEST_PATCH_PATH}"
cp target/x86_64-pc-windows-msvc/release/libjdsd_dsiii_practice_tool.dll \
"${DSIII_TEST_PATCH_PATH}/dinput8.dll"
1 change: 1 addition & 0 deletions practice-tool/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fn main() {
embed_resource::compile("./src/practice-tool.rc", embed_resource::NONE);
println!("cargo:rustc-cdylib-link-arg=/DEF:lib/no-logo/exports.def");
}
Loading

0 comments on commit d031dfc

Please sign in to comment.