Mark Drobnak
1e1beaa35b
Fix compile error
2 years ago
Mark Drobnak
906afaffba
Apply some recent clippy lint fixes
2 years ago
Steve Cook
79c521d935
Add explanation for buffer size
2 years ago
Steve Cook
d5ce31bf3b
Requested changes
2 years ago
Andrea Ciliberti
777baef561
Remove SRV module
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
63949f5a0e
Remove CamContext implementation
2 years ago
Steve Cook
ab57d9d963
Make Cam non-exhaustive
2 years ago
Andrea Ciliberti
35d7c7832f
Formatting println!
2 years ago
Andrea Ciliberti
d8e36cf68d
Fix println! statements
2 years ago
Andrea Ciliberti
fb38d8202f
Fix formatting
2 years ago
Andrea Ciliberti
400fd1776c
Test PR for Github Actions
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
e8d0ab105b
Remove pointer math when writing to buffer
2 years ago
Steve Cook
921cd90d84
Remove majority of safe casting in example
2 years ago
Steve Cook
ffc637a57a
Use ctru_sys constants
...
Fix example const types
2 years ago
Steve Cook
2405754d1b
Cargo fmt
2 years ago
Ian Chamberlain
2bfa0a85ac
Initial attempt at CI with GitHub Actions
2 years ago
Steve Cook
e6e0e2e987
Change results to contain returning values
...
Add struct-based functions
2 years ago
Steve Cook
c7b6470382
All non-struct functions
2 years ago
Steve Cook
72c9401a5f
Initial CAM service and example
2 years ago
TechiePi
990edffd21
Apply suggestions (VI)
2 years ago
TechiePi
c130661da2
Apply suggestions (V)
2 years ago
TechiePi
0dbf85db4c
Apply suggestions (IV)
2 years ago
TechiePi
1bf8c582d6
Rustfmt
2 years ago
TechiePi
7fa7137b39
Apply suggestions (III)
2 years ago
TechiePi
5ddc8e9906
Change example filename to ``system-configuration.rs``
2 years ago
TechiePi
509e9308f5
Change ``repr(u8)`` to ``repr(u32)`` to match ctru-sys
2 years ago
TechiePi
149ab391d5
Apply suggestions (II)
2 years ago
TechiePi
358e2bca46
Apply suggestions
2 years ago
TechiePi
1e8c6ccacb
Fix issues with ``Fs`` docs
2 years ago
TechiePi
87b222a71a
Apply simple ``rustdoc`` suggestions
2 years ago
TechiePi
53d35dd7d9
Fix example
2 years ago
TechiePi
b8618907e5
Add example
2 years ago
TechiePi
650ba42b35
Implement debug and make function names consistent
2 years ago
TechiePi
e371addd66
Initial CFGU implementation
2 years ago
Ian Chamberlain
eb1f112c81
Handle #[must_use] errors where needed
3 years ago