Commit Graph

1420 Commits

Author SHA1 Message Date
plutoo
89e29dbe06 HID: Various improvements.
Added gyro enable/disable cmd.
Added accelerometer disable cmd.
Fixed hidInit() error handling.
hidInit() no longer enables accelerometer.
HIDUSER_GetInfo has been renamed to HIDUSER_GetSharedMem.
hid functions no longer require a NULL-ptr as arg0.
2014-08-21 20:08:08 +02:00
plutoo
7dbd7e535c Renamed ACU_cmd1 to ACU_GenerateDefaultConfig. 2014-08-21 19:25:54 +02:00
smea
1d761afced Update README.md 2014-08-21 09:45:47 -07:00
fincs
0e850119c9 HID: implement key/touch/circle pad access 2014-08-21 16:55:21 +02:00
fincs
9cef70bbd4 Remove #ifdef SRV_OVERRIDE_SUPPORT 2014-08-21 01:29:22 +02:00
fincs
af93d8e10c gspWaitForEvent(): add nextEvent parameter; GSPEVENT_count -> '_MAX 2014-08-21 00:24:24 +02:00
fincs
0d3ed55b88 GSP: add basic event handling system 2014-08-21 00:09:39 +02:00
fincs
66523edaae initSystem.c: revise heap code, disable global destructors due to crashes 2014-08-20 23:32:09 +02:00
fincs
0a1d0403d1 __ctru_exit(): perform svcExitProcess() if there's no retAddr 2014-08-20 22:16:28 +02:00
fincs
85a96370e0 Merge branch 'refactor' of github.com:smealum/ctrulib into refactor 2014-08-20 22:02:33 +02:00
mtheall
f58601037c Reset SOC_hostent_alias to NULL in case the user trashed it. 2014-08-20 15:01:56 -05:00
fincs
a90ee009f8 Implement initSystem(), __ctru_exit() and __system_argc/argv 2014-08-20 22:01:50 +02:00
mtheall
c3f7bfa7fd implement gethostbyname 2014-08-20 14:56:01 -05:00
smea
370707c663 use svcDuplicateHandle in handle override 2014-08-17 13:37:49 -07:00
smea
2b4a219f87 fsInit, fsExit 2014-08-16 17:11:13 -07:00
smea
aa7d9acbbe enable srv override + __service_ptr fix 2014-08-16 15:11:33 -07:00
smea
4e3c18863b various fixes 2014-08-16 14:48:05 -07:00
plutoo
bb5d5b290f Added functionality for service-list override.
Currently disabled due to devkitARM build system not in place.
2014-08-12 22:41:40 +02:00
plutoo
470be6d4ba Added svc's. 2014-08-11 19:38:48 +02:00
yellows8
a1741254cf Updated CSND header/.c, including enums for the looping/encoding fields. 2014-08-05 22:22:43 -04:00
plutoo
d35233fb1c Revamped "srv.c". 2014-07-28 23:26:13 +02:00
plutoo
ec9734bdeb Moved OS module back out. Renamed functions. 2014-07-28 22:31:20 +02:00
plutoo
314d53a922 Moved service source-files into source/services/. 2014-07-28 22:04:31 +02:00
plutoo
884df0ba75 Moved header files from ctr/ to 3ds/. 2014-07-28 21:41:48 +02:00
plutoo
15d2dc765d Renamed svc_camelCase to svcCamelCase. 2014-07-28 20:58:47 +02:00
plutoo
baffd53020 Moved example projects to examples/. 2014-07-28 18:41:18 +02:00
yellows8
7a54bb623a Implemented svc_getProcessInfo(), and added comment to CSND.h. Implemented OS_ConvertVaddr2Physaddr() which is now used by CSND.c, this includes support for the v8.0 LINEAR memory. 2014-07-23 01:23:20 -04:00
smea
c4382042d6 HTTPC : added support for a handful of http:C commands. example will follow. 2014-07-22 21:13:40 -07:00
Dave Murphy
a18cc37dfa add network headers, remove libnds dependencies 2014-06-04 13:23:50 +01:00
smea
4beea43184 Merge branch 'master' of github.com:smealum/ctrulib
Conflicts:
	libctru/include/ctr/GSP.h
	libctru/source/GSP.c
2014-05-27 20:49:50 +02:00
smea
2aae159782 minifix test.vsh 2014-05-27 20:47:53 +02:00
yellows8
3e69e498bb Adjusted sleep-mode code so that on leaving sleep-mode, GSPGPU_SetLcdForceBlack() is only used when the status was APP_RUNNING(also removed GSPGPU_SetLcdForceBlack call for prepare sleep-mode signal). 2014-05-22 14:21:39 -04:00
yellows8
4260edd6c9 Adjusted sleep-mode code so that the APP_STATUS on leaving sleep-mode, would be set to the status which was set when the prepare sleep-mode signal was triggered(and other minor changes). 2014-05-22 13:56:16 -04:00
yellows8
d99ab43106 Enabled APT_AppletUtility code which was needed for aptReturnToMenu. 2014-05-22 13:06:50 -04:00
yellows8
ce92c8b20d Implemented APT_GetAppletManInfo. Implemented loading the menu AppID with APT_GetAppletManInfo, instead of using a hard-coded AppID. 2014-05-22 00:22:56 -04:00
yellows8
54757cfd60 Fixed issue where the application would no longer receive any NS signals/notifications once the system returns to the application, from home-menu. 2014-05-21 12:43:58 -04:00
yellows8
07bd9aa357 Fixed issues involving application termination. This fixed the applet launch hang after launching a ctrulib app, and fixed the issue where the power/HOME buttons did not work correctly under the power-off screen. 2014-05-20 23:27:50 -04:00
yellows8
8c656065a4 Implemented more APT and GSPGPU commands. Improved return-to-menu handling, screenshots for the suspended application are now handled as well. Implemented power-button handling, and implemented sleep-mode handling. Updated the example apps for the APT changes, and fixed other issues with the examples. 2014-05-20 15:49:03 -04:00
smea
a2eadf4f59 Merge pull request #5 from ichfly/master
added prototype
2014-05-20 17:24:02 +02:00
ichfly
624775d80e added prototype 2014-05-20 17:21:48 +02:00
smea
b89ba9c646 Merge pull request #4 from ichfly/master
added FSFILE_SetSize
2014-05-20 16:39:09 +02:00
ichfly
0e1b6ebe43 added FSFILE_SetSize 2014-05-20 16:14:47 +02:00
yellows8
9714dad309 Removed outdated SOC comment. 2014-05-10 21:25:26 -04:00
yellows8
271464ffc2 Improved SOC addr handling, and implemented addr handling for the sendto/recvfrom cmds. 2014-05-10 17:22:22 -04:00
Dave Murphy
7560f2f8ef ignore generated folders 2014-05-07 18:01:19 +01:00
Dave Murphy
e20c97a050 remove dodgy wchar type, use UINT64_MAX from stdint.h for U64_MAX 2014-05-07 17:19:33 +01:00
yellows8
7a5d01108a Added SOC error conversion, and implemented getsockopt, setsockopt, fcntl, sockatmark, gethostid, getsockname, and getpeername. 2014-05-04 21:55:59 -04:00
smea
e0cde91e0f Merge pull request #3 from bunnei/master
Renamed "test_vsh_bin" to "test_shbin" to fix build of gpu demo
2014-04-30 20:04:13 -07:00
bunnei
d3a9f1443e rename "test_vsh_bin" to "test_shbin" to fix build of gpu demo 2014-04-30 18:55:04 -04:00
yellows8
4a1619f7c7 Added svc_signalEvent, svc_getSystemTick, and svc_getProcessId. Enabled using SOC cmd8/cmda, and other minor changes. 2014-04-27 21:28:48 -04:00