1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00
Commit graph

24 commits

Author SHA1 Message Date
Firew0lf
ca22cf1558 Added ctr.mic, Added a function to get a µs counter value.
Didn't test ctr.mic.
2016-01-05 19:41:25 +01:00
Reuh
7359512ebe Merge branch 'master' of https://github.com/ctruLua/ctruLua
Merge with master
2015-12-27 19:59:55 +01:00
Reuh
bda9de4d1c ADDED AUDIO! WAV working perfectly
Added libogg, libvorbis and libvorbisfile to 3ds_portlibs. You will need to compile thems using make build-portlibs. Opening OGG files works but they play badly.

Added a very simple error handler in main.lua

Added audio example.

Renamed isGfxInitialised to isGfxInitialized.

Did you know? The audio module is the longest ctrµLua module.
2015-12-27 19:54:58 +01:00
Firew0lf
5c4da69997 Added the ctr.apt library, tweaked ctr.news a bit, fixed a typo in cfgu.c 2015-12-24 18:44:22 +01:00
Firew0lf
a8d31de1e4 Added the ctr.cam library (untested but should work) 2015-10-22 16:13:14 +02:00
Firew0lf
8500bcb8fa ADDED SOCKETS ! Added ROMFS support (maybe), Improved the news library, added a VBLank waiting function
Sockets are only very buggy/unstable TCP clients, but working. The library was written from scratch.
2015-10-17 23:15:06 +02:00
Firew0lf
71ddca2bf4 Added the ctr.cfgu lib, to get User Configuration, Added a method in HTTPC
Warning: requires the latest ctrulib to build !
2015-10-07 12:08:44 +02:00
Reuh
0773992b68 Fully documented ctr and ctr.gfx in the C source
The documentation can be built using LDoc : run make build-doc

However, there's still a bunch of things to document.
2015-09-12 13:35:21 +02:00
Firew0lf
848fe42096 Finished the QTM library, Added some text in ctr.c
The QTM (Headtracking) is not tested on real hardware, and doesn't work in citra.
But should work, maybe. Please update your boot.3dsx to use it without errors.
2015-09-12 00:15:51 +02:00
Firew0lf
d3ca4d0360 "Fixed" the HTTPC lib with the crappiest code you've ever seen, Added a (very) small QTM lib
Don't look at the HTTPC code !!! Also, the example only work a random number of times.
2015-08-24 20:24:15 +02:00
Reuh
d405bba6ca I'm a semicolon 2015-08-22 20:53:14 +02:00
Reuh
0af33d0b3a Cleaned initialisation process 2015-08-22 20:37:45 +02:00
Firew0lf
3fd2efb77e Added the HTTPC services. Should work. 2015-08-22 18:44:56 +02:00
Reuh
85d8f60f94 Added fs lib; fs.list working. Added a simple shell. 2015-08-20 21:12:15 +02:00
Firew0lf
551e8e121e Added the "ctr.ir" library. Maybe it's working. 2015-08-20 18:33:49 +02:00
Reuh
155a2e9805 Renamed os.run to ctr.run ; added ctr.hid.read
All other HID functions no longer update inputs when they are called.
2015-08-20 14:05:56 +02:00
Reuh
9ab25f7518 TABS. TABS EVERYWHERE. Please.
Also, gfx.set3D now accept any value (not only boolean), like on Lua. Because why not (Also changed the ctrulib gfxSet3D function to the sf2dlib one).
2015-08-20 10:45:18 +02:00
Firew0lf
ebd3a6804d Added "ctr.time()", with millisecond precision 2015-08-19 21:19:59 +02:00
Reuh
b772a42d28 Added ctr.gfx.getFPS, renamed ctr.hid.read to ctr.hid.keys, unload font from memory when exiting and did some cleaning 2015-08-19 17:14:02 +02:00
Reuh
0e42f25b8b Added ctr.hid lib, hid.read() working. 2015-08-18 14:52:20 +02:00
Reuh
aee36e6925 Fixed typos; should compile now 2015-08-18 12:41:28 +02:00
Firew0lf
cec806bb78 Added the PTM services API. Should work. 2015-08-18 12:24:36 +02:00
Firew0lf
4d4838d392 Added the "ctr.news" API. WIP, should not work correctly. Seriously, don't use it. Don't even load it. 2015-08-18 00:34:14 +02:00
Reuh
03baa21c10 Added some code 2015-08-17 18:15:37 +02:00