diff --git a/.gitignore b/.gitignore index f6e7aaa..f88ff31 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ buildSysmodule/* *.nsp *.npdm *.nso -.vscode *.code-workspace *.flag *.rar diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..a98045a --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,26 @@ +{ + "configurations": [ + { + "name": "AArch64 libnx", + "includePath": [ + "${workspaceFolder}/build", + "${DEVKITPRO}/devkitA64/lib/gcc/aarch64-none-elf/*/include/", + "${DEVKITPRO}/devkitA64/aarch64-none-elf/include/", + "${DEVKITPRO}/portlibs/switch/include/", + "${DEVKITPRO}/libnx/include/", + "ControllerUSB/include", + "SwitchUSB/include", + "inih/" + ], + "defines": [ + "SWITCH", + "__SWITCH__" + ], + "compilerPath": "${DEVKITPRO}/devkitA64/bin/aarch64-none-elf-g++", + "cStandard": "c11", + "cppStandard": "c++17", + "intelliSenseMode": "gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..90a2852 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,52 @@ +{ + "files.associations": { + "array": "cpp", + "*.tcc": "cpp", + "cctype": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "cstdarg": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "unordered_map": "cpp", + "vector": "cpp", + "exception": "cpp", + "fstream": "cpp", + "initializer_list": "cpp", + "iosfwd": "cpp", + "istream": "cpp", + "limits": "cpp", + "new": "cpp", + "optional": "cpp", + "ostream": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "streambuf": "cpp", + "string_view": "cpp", + "system_error": "cpp", + "type_traits": "cpp", + "tuple": "cpp", + "typeinfo": "cpp", + "utility": "cpp", + "atomic": "cpp", + "chrono": "cpp", + "cstddef": "cpp", + "ctime": "cpp", + "deque": "cpp", + "algorithm": "cpp", + "functional": "cpp", + "iterator": "cpp", + "memory": "cpp", + "memory_resource": "cpp", + "numeric": "cpp", + "random": "cpp", + "ratio": "cpp", + "string": "cpp", + "thread": "cpp" + }, + "C_Cpp.dimInactiveRegions": true +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..6e04616 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,97 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build Sysmodule", + "type": "shell", + "promptOnClose": true, + "command": "make sysmodule -j8", + "presentation": { + "reveal": "always", + "panel": "shared" + }, + "problemMatcher": { + "owner": "cpp", + "pattern": { + "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + }, + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Build Applet", + "type": "shell", + "promptOnClose": true, + "command": "make applet -j8", + "presentation": { + "reveal": "always", + "panel": "shared" + }, + "problemMatcher": { + "owner": "cpp", + "pattern": { + "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + }, + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Clean Applet", + "type": "shell", + "promptOnClose": true, + "command": "make cleanApplet -j8", + "presentation": { + "reveal": "always", + "panel": "new" + }, + "problemMatcher": { + "owner": "cpp", + "pattern": { + "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + } + }, + { + "label": "Clean Sysmodule", + "type": "shell", + "promptOnClose": true, + "command": "make cleanSysmodule -j8", + "presentation": { + "reveal": "always", + "panel": "new" + }, + "problemMatcher": { + "owner": "cpp", + "pattern": { + "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + } + } + ] +} \ No newline at end of file