Commit Graph

90 Commits

Author SHA1 Message Date
Dave Murphy
305c6f325e add ROMFS option to all Makefiles (#25)
* add romfs building

* report error on failure

* add ROMFS option to all Makefiles
2018-04-19 14:54:51 -04:00
yellows8
3cf70237fe Use nacpGetLanguageEntry() in app_controldata example. 2018-04-18 23:39:15 -04:00
yellows8
edebdf9071 Removed 3.0.0 comment from app_controldata example since latest libnx supports it now. 2018-04-15 22:14:23 -04:00
plutooo
4f33268490 Stylefix 2018-04-15 23:39:30 +02:00
yellows8
669604ae6c Changed nsApplicationControlData to NsApplicationControlData, for latest libnx. 2018-04-15 17:02:32 -04:00
yellows8
57425a7342 Added app_controldata example. Added comment to save example. 2018-04-15 15:05:22 -04:00
yellows8
aada6746ec Added account example and added comment to save example. 2018-03-28 19:29:07 -04:00
yellows8
e76f9e23e6 Added note regarding device-names to the save example. 2018-03-28 11:16:54 -04:00
yellows8
8073ca30fb In save example, use SaveDataIterator to find what savedata to use, otherwise fallback to the original hard-coded TID + current-userID. 2018-03-26 14:52:03 -04:00
yellows8
412a458014 Added fs savedata example. 2018-03-21 19:14:03 -04:00
yellows8
f1c0e89ad9 Added note for system-settings vibration config. 2018-03-16 21:44:44 -04:00
yellows8
54e546c63b Added note to irsensor example for using handheld-mode/non-CONTROLLER_PLAYER_*. 2018-03-16 19:45:36 -04:00
yellows8
226bae08e9 Use handheld-mode/player1-controller automatically in vibration example. 2018-03-15 22:26:50 -04:00
yellows8
a6bab09fa7 Updated vibration example. 2018-03-14 21:41:22 -04:00
yellows8
e0ac4fba23 Added comments to vibration example regarding vibration being unusable in handheld-mode. 2018-03-10 19:47:39 -05:00
Dave Murphy
17c6b8658c use __SWITCH__ in preference to just SWITCH to avoid potential collisions 2018-03-11 00:37:23 +01:00
plutoo
3ec32a8ebd Irs stylefix 2018-03-10 14:48:53 +01:00
plutoo
a8e052bb72 Untabify 2018-03-07 18:51:41 +01:00
plutoo
f1211ac816 Not sure what happened here xD 2018-03-07 18:49:40 +01:00
Kostas Missos
e19c42e2d1 [hidvib] Change vib values names (#21)
And set default amp values and increments way lower
2018-03-07 12:23:08 -05:00
yellows8
b5ae43bcc8 Updated vibration example for latest libnx + use both joy-cons. 2018-03-07 01:19:15 -05:00
yellows8
ed634c5403 Updated print text for vibration example. 2018-03-07 00:24:44 -05:00
yellows8
c04241827f Updated vibration example. 2018-03-06 23:55:35 -05:00
yellows8
0ee7945bec Merge branch 'master' of github.com:switchbrew/switch-examples 2018-03-06 18:11:05 -05:00
yellows8
2948f17337 Added hid vibration example. 2018-03-06 18:10:35 -05:00
Dave Murphy
5f7c3043d1 add template for libraries (#20) 2018-03-06 02:20:00 -05:00
yellows8
d04a002c10 Updated irsensor example with working image-transfer + image-display. 2018-03-05 22:48:37 -05:00
Mike H
78e5841905 Improved playtone and implemented echo example (#19)
* Improved playtone and implemented echo example
2018-03-04 12:21:09 -05:00
yellows8
b9e9291e37 Changed ir_buffer_size and updated comments. 2018-03-02 13:20:24 -05:00
yellows8
8cbf348876 Updated irsensor example. 2018-03-01 19:15:41 -05:00
yellows8
3693998cbc Added romfs example based on the 3ds-examples one, not yet ready for use. 2018-02-28 11:57:24 -05:00
yellows8
770b18182f Added sdmc example. 2018-02-26 17:27:57 -05:00
yellows8
e931d62d2b Added get_system_language example. 2018-02-26 12:24:50 -05:00
Dave Murphy
cca3398055 add vt52 demo code 2018-02-25 15:52:11 +01:00
yellows8
4a55332926 Added touch-screen example based on the one from 3ds-examples. 2018-02-22 19:14:14 -05:00
yellows8
d2c9651836 Removed extra newline. 2018-02-22 17:57:55 -05:00
yellows8
340148ca40 Time example: use tm_wday instead of manually calculating day-of-week. Added comment regarding UTC/localtime(). 2018-02-22 17:53:41 -05:00
yellows8
fff86cfc8d Use tabs for all examples. 2018-02-22 14:50:16 -05:00
yellows8
97aeaa0033 Imported an updated version of read-controls from 3ds-examples. 2018-02-22 02:03:52 -05:00
yellows8
c15bbe9a2a Adjusted exit-button print for the time example. 2018-02-22 01:21:56 -05:00
yellows8
398f15bbf2 Added time example based on the one from 3ds-examples. 2018-02-20 18:04:47 -05:00
yellows8
fd6cdee491 Improved audoutPlayBuffer() failure check. 2018-02-20 16:31:42 -05:00
Mike H
1b7f374daf Attempt to fix audio playback issue (#12)
* Attempt to fix audio playback issue
* Adding sanity checks
2018-02-20 16:14:45 -05:00
yellows8
3f363c5735 Added -ffunction-sections to Makefiles. Updated usbds comments. 2018-02-19 22:43:43 -05:00
fincs
1563992d42 Remove -ffast-math (#13) 2018-02-19 20:27:27 -05:00
yellows8
a7106d5009 In playtone use kDown instead of calling hidKeysDown() multiple times. 2018-02-19 02:44:26 -05:00
Dave Murphy
be59a84eb1 add dist target (#9) 2018-02-18 18:51:38 -05:00
yellows8
bac23eaa5f Removed simple template, since other example(s) should be used instead. 2018-02-18 18:27:49 -05:00
yellows8
e5f5b48f0b Added application template. 2018-02-18 18:23:45 -05:00
yellows8
ccd9f78162 Imported more changes from 3ds-examples. 2018-02-18 18:21:24 -05:00