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
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
9e303b6f91
Merge remote-tracking branch 'upstream/master' into camera
2 years ago
Steve Cook
2405754d1b
Cargo fmt
2 years ago
Meziu
ed3d9ba024
Merge pull request #63 from Techie-Pi/master
...
Initial CFGU implementation
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
Mark Drobnak
419f191045
Merge pull request #64 from Techie-Pi/chore/improve-docs
...
Improve docs
2 years ago
TechiePi
c130661da2
Apply suggestions (V)
2 years ago
TechiePi
0dbf85db4c
Apply suggestions (IV)
2 years ago
TechiePi
1eca556700
Apply suggestions (II)
2 years ago
TechiePi
5446f97812
Apply sugggestions
2 years ago
TechiePi
1bf8c582d6
Rustfmt
2 years ago
TechiePi
7fa7137b39
Apply suggestions (III)
2 years ago
TechiePi
d4db25cd63
Add docstring to rustdoc conversion
...
Right now, only basic things are changed (remove ``@`` annotations, trim spaces, etc.).
In the future, changes will be made (mostly to _truly_ transform ``@param``to rustdoc conventions.
Right now, the documentation is mostly decent, and definitely understandable
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
be42c73234
Remove ``--no-doc-comments`` from ``bindgen.sh``
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
Meziu
9305abf60d
Merge pull request #62 from ian-h-chamberlain/must-use-bindgen
...
Generate #[must_use] on bindings that return a Result
3 years ago
Ian Chamberlain
683247faf7
Remove unused libc patch
...
All of our libc changes have landed so there should be no need to rely
on the fork anymore.
3 years ago
Ian Chamberlain
eb1f112c81
Handle #[must_use] errors where needed
3 years ago
Ian Chamberlain
da330b2a35
Update bindgen, libctru+newlib and regenerate
3 years ago
Mark Drobnak
ae676a8d99
Merge pull request #61 from ian-h-chamberlain/feature/3dslink-output-redirection
...
Add 3dslink redirection to Soc service
3 years ago
Ian Chamberlain
042d5602ce
Add a new enum variant for already redirected
...
Also add libc errno error helper and an errno function in ctru_sys.
3 years ago
Ian Chamberlain
89c6d84a0e
Restore previous test behavior
3 years ago
Ian Chamberlain
cdb7e45500
Add doc comment for usage + clear screen
3 years ago
Ian Chamberlain
172c3c260e
Add 3dslink redirection to Soc service
...
- Add example of usage
- Fix broken thread-info compilation
3 years ago
Meziu
c09b2e8195
Merge pull request #59 from ian-h-chamberlain/fix/increase-default-stack-size
...
Increase default stack size to 2MB with opt-out available
3 years ago
Ian Chamberlain
3cff0c2a77
Make stack bigger by default
...
Add a Cargo feature to allow users to set the stack size if desired, but
default to 2MB to handle more use cases.
3 years ago
Meziu
40db202e0b
Merge pull request #55 from Meziu/tweak/network-sockets-would-block
...
network-sockets example: More gracefully handle ErrorKind::WouldBlock
3 years ago
Mark Drobnak
a2fc98cb5c
Update imports
3 years ago
Mark Drobnak
8484aa614d
network-sockets example: More gracefully handle ErrorKind::WouldBlock
3 years ago
Meziu
2e80f8b2c0
Merge pull request #54 from Meziu/tweak/upstream-libc
...
Update libc to 0.2.121 (upstream)
3 years ago