You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are developing a plugin for the Wii U Plugin System (WUPS), you **should not** use `libbuttoncombo`.
9
31
10
-
## Buildflags
32
+
The [WiiUPluginSystem](https://github.com/wiiu-env/WiiUPluginSystem) (WUPS) library already provides built-in wrappers
33
+
for the ButtonComboModule. You can use the WUPS API directly to register combos without linking an external library.
11
34
12
-
### Logging
13
-
Building via `make` only logs errors (via OSReport). To enable logging via the [LoggingModule](https://github.com/wiiu-env/LoggingModule) set `DEBUG` to `1` or `VERBOSE`.
35
+
## Building
14
36
15
-
`make` Logs errors only (via OSReport).
16
-
`make DEBUG=1` Enables information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule).
17
-
`make DEBUG=VERBOSE` Enables verbose information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule).
37
+
To build this module, you need **devkitPro** installed with `wut` and `wums`. You also need the `libfunctionpatcher`
38
+
libraries installed.
18
39
19
-
If the [LoggingModule](https://github.com/wiiu-env/LoggingModule) is not present, it'll fallback to UDP (Port 4405) and [CafeOS](https://github.com/wiiu-env/USBSerialLoggingModule) logging.
40
+
### Build Flags (Logging)
20
41
21
-
## Building using the Dockerfile
42
+
Building via `make` only logs critical errors via OSReport by default. To enable verbose logging via
43
+
the [LoggingModule](https://github.com/wiiu-env/LoggingModule), set `DEBUG` to `1` or `VERBOSE`.
22
44
23
-
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
45
+
*`make`: Logs errors only (via OSReport).
46
+
*`make DEBUG=1`: Enables information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule).
47
+
*`make DEBUG=VERBOSE`: Enables verbose information and error logging
48
+
via [LoggingModule](https://github.com/wiiu-env/LoggingModule).
49
+
50
+
If the [LoggingModule](https://github.com/wiiu-env/LoggingModule) is not present, it will fallback to UDP (Port 4405)
51
+
and [USBSerialLoggingModule](https://github.com/wiiu-env/USBSerialLoggingModule) logging.
52
+
53
+
### Building using Docker
54
+
55
+
It is possible to use a Docker image for building. This way, you don't need anything installed on your host system.
24
56
25
57
```
26
-
# Build docker image (only needed once)
58
+
# Build Docker image (only needed once)
27
59
docker build . -t buttoncombomodule-builder
28
60
29
61
# make
@@ -33,6 +65,14 @@ docker run -it --rm -v ${PWD}:/project buttoncombomodule-builder make
33
65
docker run -it --rm -v ${PWD}:/project buttoncombomodule-builder make clean
34
66
```
35
67
36
-
## Format the code via docker
68
+
## Formatting
69
+
70
+
You can format the code via Docker:
71
+
72
+
```
73
+
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source -i
74
+
```
75
+
76
+
## License
37
77
38
-
`docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source -i`
0 commit comments