Skip to content

NXZR :: 니 스위치 쩔드라 - Nintendo Switch Controller Emulator over Bluetooth (legacy)

Notifications You must be signed in to change notification settings

preco21/nxzr-legacy

Repository files navigation

NXZR

니 스위치 쩔드라

Project structure

  • nxzr_core: The NXZR core modules
  • nxzr_device: Device and transport modules for working with unix sockets
  • nxzr_server: Server daemon application that runs on the guest side
  • nxzr_gui: Host GUI application that interacts with nxzr_server
  • nxzr_shared: Shared utilities used across the project
  • nxzr_proto: The gRPC IDLs

Troubleshooting

.cargo/config.toml is not respected

At the time of writing, Rust Workspaces feature doesn't respect per-workspace .cargo/config.toml. So, you will want to directly move into each crate instead to run build:

cd nxzr_server && cargo build

Tracking issues:

Caveats when using VSCode Workspaces feature

You may want to open each workspace per editor since rust-analyzer does not work well with VSCode Workspaces feature.

Due to platform mismatches, some dependencies are marked as "optional" for some crates.

Because of the this, opening the entire project as a whole in VSCode might fail to run cargo check internally.

In order to work with cross-compiling projects, you will want to use cross instead.

Make sure the Docker daemon is running on your system which allows you to cross-compile projects.

Then, open a project directly to work with cross:

code nxzr_device

Tracking issues:

cargo check fails

Make sure to install required components:

rustup component add rustfmt
rustup component add clippy

This project includes multi compilation targets, so it may fail to build when commands like cargo check is executed on the project root.

Please refer to "Caveats when using VSCode Workspaces feature" section above if you want to cross-compile projects.

About

NXZR :: 니 스위치 쩔드라 - Nintendo Switch Controller Emulator over Bluetooth (legacy)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published