Commit Graph

698 Commits

Author SHA1 Message Date
Ash Logan
4290ef7679 changelog: Add sysapp, cmake toolchain changes 2020-04-12 21:10:08 +10:00
Ash Logan
dcf341e2b6 wut.toolchain.cmake: switch pkg-config to find_program 2020-04-12 21:04:58 +10:00
Ash Logan
586c65b2d7 wut.toolchain.cmake: Set pkg-config executable to dkp-libs/wiiu-pkg-config 2020-04-09 10:59:22 +10:00
Ash Logan
0fdbf66470 sysapp: Add PFID functions, rename APP_ID_UPDATER -> APP_ID_HOME_MENU, other system app funcs 2020-03-14 11:04:28 +11:00
Ash Logan
c9a2290196 acp: Add functions, structs, enums (from Decaf) 2020-03-12 13:51:13 +11:00
Ash Logan
d19cd94a99 tests: Add missing wut headers (except cURL) 2020-03-12 12:37:37 +11:00
Ash Logan
78467b6927 tests: Add -Wall, -Wextra, -pedantic, -Werror 2020-03-12 12:36:47 +11:00
Ash Logan
3803e021f1 acp: Fix up length of ACPMetaXml
b9186b89b9/src/libdecaf/src/nn/acp/nn_acp_types.h (L110)
2020-03-12 12:36:11 +11:00
Ash Logan
94bea47ab1 changelog: bring up to date with changes since beta9 2020-02-10 15:39:52 +11:00
Ash Logan
1df3d9a40d whb/gfx: Capitalise v in WHBGfxGetTVColourBuffer
All the other public whb/gfx functions capitalise DRC and TV, so do that 
here.
2020-02-10 15:12:22 +11:00
Crayon
78ee1c51bc Add Nunchuk/CC emulated sticks, KPAD accelerometer data, WPAD/KPAD documentation (#114)
* Add emulated stick values for Nunchuk and Classic Controller

* Add acceleration sensor data to KPADStatus

I have also changed the posValid type from uint8_t to int8_t because the value can be negative.
A negative value means that the result validity is not really good.

* Set version to beta in the doc

* Added mask for button C and button Z on the Nunchuk

The same mask applies to WPADButton and WPADNunchukButton.

* Add doxygen comments and fix typos

Most of the comments are pretty obvious but at least it's a start.

* Fix a copy-paste error in my last commit

I have also added comments for VPADGetTPCalibrationParam and VPADSetTPCalibrationParam.

* Add documentation for all buttons
2020-01-20 17:38:29 +11:00
James Benton
d39e7cad4a wutstdc++: Use OSSetThreadRunQuantum in gthread implementation.
To emulate pre-emptive scheduling which is what would be expected from
gthread.
2020-01-18 10:58:02 +00:00
James Benton
a35269d207 vpad: Add VPAD{Get,Set}TPCalibrationParam. 2020-01-18 10:45:28 +00:00
James Benton
ddc3d0ad0e coreinit: Add declarations for OSReport{Verbose,Info,Warn}. 2020-01-18 10:45:28 +00:00
Ash Logan
77ed28d097 wut.toolchain.cmake: Add internal library directories to find path
This is useful for porting or libraries that do things like `find_library(m)`.
2019-12-01 10:24:13 +11:00
Dave Murphy
ed2482cad4 prevent .a rule from devkitPPC/base_rules taking priority (macOS make 3.81) 2019-11-25 14:36:10 +00:00
James Benton
b895e7b56d whb: Fix WHB console for foreground releasing and acquire. 2019-11-24 12:25:17 +00:00
James Benton
cd6e74fd17 whb: Fix WHBGfxShutdown when app is in background. 2019-11-24 11:52:47 +00:00
fincs
188b8b9ebd
Makefile: fix partial rebuild 2019-11-24 12:48:51 +01:00
James Benton
ac17c9a885 whb/gfx: Add some functions to access colour / depth / context. 2019-11-23 11:39:43 +00:00
James Benton
e9f8b191e5 whb: Only register home button denied callback when booted from HBL. 2019-11-23 11:32:13 +00:00
James Benton
7d0f02b5e6 whb: Remove useless command server code.
Not sure why this was ever in WHB....
2019-11-23 11:31:57 +00:00
James Benton
566c94065a Update tests to use new cmake functions. 2019-11-23 10:14:59 +00:00
James Benton
d47212a867 Update README.md to reflect changes to cmake functions. 2019-11-23 10:13:41 +00:00
James Benton
bffffdf515 samples/cmake: Update to use new cmake functions. 2019-11-23 10:12:28 +00:00
James Benton
217bf98474 cmake: Fix new wut_create_rpl for RPL files.
Forgot RPL was a thing, was only working for RPX before.
2019-11-23 10:10:18 +00:00
Maschell
35c20d8700 sysapp: add _SYSGetSystemApplicationTitleId(SystemAppId id); 2019-11-22 18:07:37 +00:00
James Benton
c74eb52c67 cmake: Add new and improved wut_create_rpl implementation.
This safely deprecates the old usage of wut_create_rpl.

Benefits are:
- Previously it would re-generate the RPX every time even with no changes.
- No longer creates a new build target just for the rpx file
2019-11-22 18:02:57 +00:00
James Benton
159284a93d gx2: Add const to pointers where possible. 2019-11-22 17:42:16 +00:00
James Benton
0742efdf06 Move from travis to github actions. 2019-11-20 17:25:50 +00:00
James Benton
ac36f99f62 Cleanup tests cmake scripts. 2019-11-20 17:25:50 +00:00
James Benton
6d63b6cf2d cmake: Cleanup cmake based samples. 2019-11-20 12:49:02 +00:00
James
92cedbe684
Update README.md 2019-11-20 12:23:22 +00:00
James Benton
79698376cd cmake: Add HINTS to toolchain file usage of find_program
Seems to help Windows CMake.
2019-11-20 11:29:37 +00:00
James Benton
9998acd4b3 gx2: Add missing primitive modes. 2019-11-19 23:09:39 +00:00
James Benton
8223bad1a3 coreinit/mcp: Fix MCAppType enum. 2019-11-19 21:44:23 +00:00
James Benton
695503571b coreinit: Fix MCPDevice structure. 2019-11-19 21:41:34 +00:00
Maschell
fe230e06cc coreinit: add OSGetOSID() and __OSGetProcessSDKVersion() 2019-11-19 21:35:48 +00:00
Maschell
d1d2da63ad mcp: update the MCPTitleListType struct 2019-11-19 21:34:40 +00:00
Maschell
b712686c38 mcp: update the MCPAppType struct 2019-11-19 21:34:40 +00:00
Maschell
7f2c9b5d69 nn_acp: add the ACPMetaXml struct 2019-11-19 21:34:32 +00:00
James Benton
f0ed4fb91f gx2: Add GX2Get{Geometry,Vertex,Pixel}Uniform{Block,Var}. 2019-11-19 09:41:18 +00:00
James Benton
f2f82b1c08 gx2: Fix data parameter type for GX2Set*UniformReg 2019-11-19 09:39:51 +00:00
James Benton
9f0ff0f624 cmake: Set find path before using find_program.
Also use find_program for compilers.
2019-11-18 16:20:49 +00:00
Ash
65a701d874
Merge pull request #108 from Crayon2000/feature-more-functions
Add missing function declarations
2019-07-04 14:55:02 +10:00
Crayon2000
df93bf758f Add missing function declarations
Added:
* inet_ntoa_r
* inet_ntop
* inet_pton
* VPADGetTPCalibratedPointEx
2019-07-02 01:04:27 -04:00
Crayon
bb35c14451 Fix URL and status (#107) 2019-06-20 14:37:26 +01:00
Ash
ed4e168d21
Merge pull request #105 from devkitPro/merge-build-refactor
wut 1.0.0-beta9
2019-05-22 17:32:07 +10:00
Ash Logan
540b1de3a7 samples: Remove deprecated cmake macros 2019-05-22 11:56:28 +10:00
Ash Logan
3452359c0c cafe: remove snd_core and snd_user 2019-05-04 20:56:31 +10:00