TechiePi
0d31a1970a
Remove unnecesary condition and explain the ``type Residual``
2 years ago
TechiePi
1dfe050fd4
Add formatting step in ``bindgen.sh`` and fix formatting
2 years ago
TechiePi
19990694d6
Make documentation on ``bindings.rs`` more _rustdoc-ly_
...
This adds a "_bin-dependency_" on ``ctru-sys`` to doxygen-rs, a project I've been roking on to improve Doxygen to Rustdoc conversion: https://github.com/Techie-Pi/doxygen-rs
2 years ago
TechiePi
1376417aec
Change the name of ``LibCtruError`` to ``LibCtruResult``
...
Not everything wrapped in this struct is an error
2 years ago
TechiePi
9ef0a7dcd6
Fix ``camera-image.rs`` example (III)
2 years ago
TechiePi
0dc83d03f1
Fix ``camera-image.rs`` example (II)
2 years ago
TechiePi
8b4b8ef395
Fix ``camera-image.rs`` example
2 years ago
TechiePi
c3e24358b7
Remove ``synchronize_vsync_timing`` function
...
[ref](https://github.com/Meziu/ctru-rs/pull/74#issuecomment-1272454085 )
2 years ago
TechiePi
a3297aebd0
Fix ``FromResidual`` logic
2 years ago
TechiePi
28cb72addd
Fix ``Try`` logic
2 years ago
TechiePi
77709c3afd
Fix formatting
2 years ago
TechiePi
22183d8765
Improve calling ``ctru_sys `` functions ergonomics
...
Now instead of handling the error number manually, you can use ``LibCtruError(ctru_sys::xxx())?`` for the cases where ``if r < 0`` executes ``Err(r.into())``
Most changes are migrations to the new system, relevant code changes are in ``src/error.rs``
2 years ago
Meziu
ec07231e99
Merge pull request #72 from Meziu/fix/ci-apt-install
...
Fix CI by running apt-get update before install
2 years ago
Mark Drobnak
399d1b2ea2
Merge pull request #65 from SteveCookTU/camera
...
Initial CAM implementation
2 years ago
Mark Drobnak
1e1beaa35b
Fix compile error
2 years ago
Mark Drobnak
906afaffba
Apply some recent clippy lint fixes
2 years ago
Mark Drobnak
04aaff55fb
Run apt-get update before install
2 years ago
Steve Cook
79c521d935
Add explanation for buffer size
2 years ago
Steve Cook
d5ce31bf3b
Requested changes
2 years ago
Meziu
10c38656ea
Merge pull request #71 from Meziu/srv-deletion
...
SRV module removal
2 years ago
Andrea Ciliberti
777baef561
Remove SRV module
2 years ago
Meziu
691c12b93b
Merge pull request #70 from Meziu/feature/prelude
...
Prelude module addition
2 years ago
Andrea Ciliberti
b9f15aa454
Prelude module addition
2 years ago
Steve Cook
73505783eb
Add basic documentation
2 years ago
Steve Cook
6f77099394
Rename methods for accuracy
2 years ago
Steve Cook
d1c6305221
Rename set_size to set_view_size
...
Move variables inside loop for conversion function
2 years ago
Steve Cook
a35a3e64df
Remove RefCell wrapping around cameras
2 years ago
Steve Cook
01ce122730
Deactivate camera after taking the picture
2 years ago
Steve Cook
9ecb86e33d
Requested changes
...
Made low level functions for camera manipulation internal
Changed picture timeout to Duration from raw i64
Moved shutter sound before the actual picture taking
2 years ago
Steve Cook
a659adc555
Merge remote-tracking branch 'origin/camera' into camera
2 years ago
Steve Cook
63949f5a0e
Remove CamContext implementation
2 years ago
SteveCookTU
3ea0ba75b0
Merge branch 'master' into camera
2 years ago
Steve Cook
ab57d9d963
Make Cam non-exhaustive
2 years ago
Meziu
ac6c81e781
Merge pull request #68 from Meziu/ci-test
...
Test PR for Github Actions
2 years ago
Andrea Ciliberti
35d7c7832f
Formatting println!
2 years ago
Andrea Ciliberti
d8e36cf68d
Fix println! statements
2 years ago
Meziu
709bf668e5
Merge branch 'master' into ci-test
2 years ago
Andrea Ciliberti
fb38d8202f
Fix formatting
2 years ago
Andrea Ciliberti
400fd1776c
Test PR for Github Actions
2 years ago
Meziu
cdc9c04522
Merge pull request #66 from ian-h-chamberlain/feature/ci-lint-and-fmt
...
Initial attempt at CI with GitHub Actions
2 years ago
Ian Chamberlain
9a6346728d
Allow manual dispatch of CI
2 years ago
Ian Chamberlain
3511b6540f
Fix lint error and allow failure on latest nightly
2 years ago
Steve Cook
46d78e2cd9
Requested changes
...
Use calculated buffer size over comment.
Use tuple structs for input on Cam::set_detail_size
2 years ago
Steve Cook
63beaa3638
Use Camera structs and trait over direct functions
2 years ago
Steve Cook
1efb2e6ea3
Revert bitmask to .contains for KEY_R
2 years ago
Steve Cook
cae4f005e8
Add TryFrom conversion for FramebufferFormat and CamOutputFormat
2 years ago
Steve Cook
9b5f5a09c8
Remove prefixes from enum variants
2 years ago
Steve Cook
27c8daa1bc
Convert image into rgb8 and write to the frame buffer only once per frame.
...
Remove use of keys_held
Remove unnecessary 3d setting
2 years ago
Steve Cook
c8b62c10a7
Add comments to conversion function
2 years ago
Steve Cook
2bf8611ecd
Remove 3ds file items
2 years ago