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
Ian Chamberlain
7d70add8f3
Fix mutability issues after merge of master
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
683fad4aee
Initial pass of Swap/Flush traits for screens
2 years ago
Meziu
71ad3e9462
Update gfx.rs
2 years ago
Meziu
80efa807b1
Update flush_buffer docs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
2 years ago
Andrea Ciliberti
8821ed4326
Explicit DPAD nomenclature
2 years ago
Andrea Ciliberti
a0e36f3753
fmt
2 years ago
Andrea Ciliberti
ef4ea1797a
Compilation error only if feature is set
2 years ago
Andrea Ciliberti
93fdaffa6b
fmt
2 years ago
Andrea Ciliberti
a2a990b715
Compilation error when romfs can't be found
2 years ago
Andrea Ciliberti
bca9aa7918
fmt
2 years ago
Andrea Ciliberti
7aef0de46b
Update for linker-fix-3ds rename
2 years ago
Andrea Ciliberti
5a21920530
fmt
2 years ago
Andrea Ciliberti
d3134f68f6
Compilation error only if feature is set
2 years ago
Andrea Ciliberti
78ba904ac0
fmt
2 years ago
Andrea Ciliberti
8334221f52
Compilation error when romfs can't be found
2 years ago
Andrea Ciliberti
f37ccaea13
Undo double flush in example
2 years ago
Andrea Ciliberti
ef074a66ad
Fmt and clippy
2 years ago
Andrea Ciliberti
31ad7cbf8e
Renamed SystemModel enum variants
2 years ago
Andrea Ciliberti
e06114d081
Use usize in RawFrameBuffer
2 years ago
Andrea Ciliberti
fe29c25c35
Derive traits and Screen changes
2 years ago
Andrea Ciliberti
5257d16aee
Renamed init functions to new
2 years ago
Andrea Ciliberti
8e3017b725
Fix examples
2 years ago
Andrea Ciliberti
1e4002604f
Fixed mutability for all modules
2 years ago
Andrea Ciliberti
12f3d8ad40
Ask for mut references in Channel
2 years ago
Andrea Ciliberti
ca3a2de6a6
fmt
2 years ago
Andrea Ciliberti
5ad6708bb6
Update for linker-fix-3ds rename
2 years ago
Andrea Ciliberti
27d8558274
Rename org
2 years ago
Andrea Ciliberti
581c62dd49
Fix licensing issues
2 years ago
Ian Chamberlain
6c6c094399
Fix build errors in FS examples
2 years ago
Andrea Ciliberti
294284ef65
Better swkbd names
2 years ago
Andrea Ciliberti
bae2cc6488
Better names for cam service
2 years ago