mirror of
https://github.com/neogeek23/rust_pong.git
synced 2026-02-04 02:48:17 +00:00
added rust build files to the gitignore & added a ron for bindings for inputs
This commit is contained in:
parent
845b2c0a56
commit
2143e546b1
18
.gitignore
vendored
18
.gitignore
vendored
@ -1,6 +1,18 @@
|
|||||||
|
|
||||||
# Created by https://www.gitignore.io/api/visualstudiocode
|
# Created by https://www.gitignore.io/api/rust,visualstudiocode
|
||||||
# Edit at https://www.gitignore.io/?templates=visualstudiocode
|
# Edit at https://www.gitignore.io/?templates=rust,visualstudiocode
|
||||||
|
|
||||||
|
### Rust ###
|
||||||
|
# Generated by Cargo
|
||||||
|
# will have compiled files and executables
|
||||||
|
/target/
|
||||||
|
|
||||||
|
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
||||||
|
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
||||||
|
Cargo.lock
|
||||||
|
|
||||||
|
# These are backup files generated by rustfmt
|
||||||
|
**/*.rs.bk
|
||||||
|
|
||||||
### VisualStudioCode ###
|
### VisualStudioCode ###
|
||||||
.vscode/*
|
.vscode/*
|
||||||
@ -13,4 +25,4 @@
|
|||||||
# Ignore all local history of files
|
# Ignore all local history of files
|
||||||
.history
|
.history
|
||||||
|
|
||||||
# End of https://www.gitignore.io/api/visualstudiocode
|
# End of https://www.gitignore.io/api/rust,visualstudiocode
|
||||||
7
resources/bindings_config.ron
Normal file
7
resources/bindings_config.ron
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
(
|
||||||
|
axes: {
|
||||||
|
"left_paddle": Emulated(pos: Key(W), neg: Key(S)),
|
||||||
|
"right_paddle": Emulated(pos: Key(Up), neg: Key(Down)),
|
||||||
|
},
|
||||||
|
actions: {},
|
||||||
|
)
|
||||||
Loading…
x
Reference in New Issue
Block a user