Andrea Ciliberti
39829e1820
Am, Apt and refactoring to streamline the API and docs
1 year ago
Andrea Ciliberti
9b97e90484
Renew manifests and fix warnings
1 year ago
Andrea Ciliberti
cd7a041180
error module documentation
1 year ago
Andrea Ciliberti
f497a1fba4
General setup for the new documentation
1 year ago
Andrea Ciliberti
243863cfb9
Fixed wrong type quotations
1 year ago
Meziu
54c6359ac3
Merge pull request #125 from rust3ds/update-sys
...
Update bindgen script and bindings
2 years ago
Andrea Ciliberti
bc9725e67c
Remove --workspace flag
2 years ago
Andrea Ciliberti
38d92d63cc
Update bindings dependencies
2 years ago
Andrea Ciliberti
7ec095eca0
Add errno.h to the bindings
2 years ago
Andrea Ciliberti
4eeb09b631
fmt
2 years ago
Andrea Ciliberti
fbfe34605c
Update bindings to latest libctru
2 years ago
Meziu
9201f4d7d1
Merge pull request #110 from Techie-Pi/docs/improve-docs-v3
...
Add `bindgen-ctru-sys` package and update bindings
2 years ago
Meziu
f6d16d1554
Merge pull request #122 from DeltaF1/mii-selector-return
...
Handle empty Mii selector return
2 years ago
DeltaF1
b50bacff4c
Remove is_mii_selected entirely, formatting
2 years ago
DeltaF1
827f00314d
Fix missing use
2 years ago
DeltaF1
1e158191ff
Add documentation to LaunchError. Update mii-selector example.
2 years ago
DeltaF1
070de964be
Add an error code for when Mii selection is cancelled
2 years ago
AzureMarker
0659df3843
Update ir-user example after merge
2 years ago
AzureMarker
c55244d9da
Merge branch 'master' into feature/ir-user
...
# Conflicts:
# ctru-rs/src/error.rs
2 years ago
Meziu
ca8f13d28c
Merge pull request #116 from rust3ds/improve/api
...
Second wave of API changes
2 years ago
Meziu
20a8094a07
Merge pull request #118 from rust3ds/feat/flush-swap-screen-traits
...
Create some traits for swapping/flushing screen buffers
2 years ago
Andrea Ciliberti
40e5cc9587
Readd trait imports
2 years ago
Andrea Ciliberti
76ef8e637e
Fix merge messages
2 years ago
Andrea Ciliberti
a3fc356d6a
Merge branch 'improve/api' into feat/flush-swap-screen-traits
2 years ago
Andrea Ciliberti
eb8eaa506f
HID Touch and Circlepad refactor + new example
2 years ago
Andrea Ciliberti
b47228fef1
Fix doctest
2 years ago
Andrea Ciliberti
09d52eac36
Fix doctest fmt
2 years ago
Andrea Ciliberti
97fce222dc
Rename MiiIndex to Index
2 years ago
Andrea Ciliberti
c7e6437278
Rename N3DS to Old3DS
2 years ago
Andrea Ciliberti
9b95c883e9
Renamed init functions to new
2 years ago
Ian Chamberlain
3e349f8591
Fix mutability issues after merge of master
2 years ago
Meziu
d8af910ed5
Update gfx.rs
2 years ago
Meziu
9a98f3233c
Update flush_buffer docs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
2 years ago
Andrea Ciliberti
fcdb18449b
Explicit DPAD nomenclature
2 years ago
Andrea Ciliberti
d3808d05af
Undo double flush in example
2 years ago
Andrea Ciliberti
9eecd1796c
Fmt and clippy
2 years ago
Andrea Ciliberti
19349dbc83
Renamed SystemModel enum variants
2 years ago
Andrea Ciliberti
bc82d20a9d
Use usize in RawFrameBuffer
2 years ago
Andrea Ciliberti
ae90fc3e6e
Derive traits and Screen changes
2 years ago
Andrea Ciliberti
ff08dd9545
Renamed init functions to new
2 years ago
Meziu
7e74e2d5de
Merge pull request #109 from rust3ds/fix/build-doctests
...
Set up reusable CI workflow and add building doctests
2 years ago
Ian Chamberlain
7d70add8f3
Fix mutability issues after merge of master
2 years ago
Ian Chamberlain
a111268771
Merge branch 'master' into fix/build-doctests
2 years ago
Ian Chamberlain
3a8b05054f
Update cargo-3ds hash to latest
2 years ago
Ian Chamberlain
b239fb8d9f
Update doc comments and bitmap example
...
Clarify the behavior of `swap_buffers` for single buffering mode and
update bitmap example to prove that this is actually how it works.
2 years ago
Ian Chamberlain
a417218182
On second thought, it seems better to reuse traits
...
Rename to flush_buffers, and just have TopScreen3D's impl do both. This
still allows individual flushing of left and right if needed but most
people would probably just use `TopScreen3D::flush_buffers`.
2 years ago
Ian Chamberlain
0ef017cf4d
Do some cleanup and fix swap trait impls
...
Oops! The argument to `gfxScreenSwapBuffers` is gfxScreen_t, not
gfx3dSide_t ! Unfortunately they are both alias to libc::c_uint so we
didn't get any help from the Rust compiler when passing the screen side
into this function.
2 years ago
Ian Chamberlain
7ac47b8838
Merge branch 'improve/api' into feat/flush-swap-screen-traits
2 years ago
Ian Chamberlain
683fad4aee
Initial pass of Swap/Flush traits for screens
2 years ago
Meziu
71ad3e9462
Update gfx.rs
2 years ago