fincs
7f1a9f4f29
U64_MAX -> UINT64_MAX
2020-03-16 16:23:36 +01:00
yellows8
b40d558458
Fixed a crash in touch handling for star-button when the current directory is empty (no menu entries). Implemented layouts which can optionally be loaded from theme config, closes #83 .
2019-12-26 01:40:54 -05:00
yellows8
38b48a8609
Don't use hidGetHandheldMode() to determine whether to use handheld or non-handheld. Just accept input from controllers 0-7 and handheld regardless, as long as the controller is connected. Closes #108 .
2019-12-11 20:13:18 -05:00
yellows8
233b765300
Improved hid handling.
2019-12-08 14:46:42 -05:00
octopuserectus
a747d92826
Update controller code to accept inputs from all players
...
not only 0 and 1 (CONTROLLER_P1_AUTO)
2019-12-07 18:58:26 -05:00
yellows8
793b912efd
Thermal display ( closes #99 ) ( #102 )
...
* Display the temperature status. Moved statusGet code from drawNetwork() into drawStatus(). Added types in common.h to fix building with latest libnx nacp.h, with the pc-build.
2019-09-17 11:47:58 -04:00
yellows8
f2e085b6be
Use enum from latest libnx for appletSetScreenShotPermission.
2019-07-13 11:20:37 -04:00
hippydave
d6c780256f
Add starred favourites at start of list ( #91 )
...
* Add starred favourites at start of list
2019-07-09 13:33:21 -04:00
yellows8
9e257d7606
Use netstatusGetDetails from a dedicated thread, since nifmGetInternetConnectionStatus can block for a few seconds.
2019-06-24 15:41:35 -04:00
yellows8
3ea2af46a5
Added netstatus files which were missing from e917589
. Closes #86 .
2019-06-22 17:47:31 -04:00
yellows8
1e3f057b23
Updated nx_power.c for latest libnx & changed nx_power psm prefix to 'power'.
2019-01-02 03:51:49 -05:00
fincs
29caa76884
Adapt to new libnx NWindow/Framebuffer API
2018-12-19 19:39:29 +01:00
yellows8
d2bb1da2fa
Disable touch horizontal swipe handling when it would conflict with the app-listing, fixes issue #73 .
2018-10-30 12:22:51 -04:00
yellows8
bb53a8ac81
Load assets from a .zip in romfs (romfs/ dir for pc-build) using minizip, instead of embedding it in data/. Sync Makefile.nx with latest switch-examples Makefile, with romfs. Automatically build the assets .zip in Makefile. Moved data/ to assets/ and moved data/unused/ to assets_unused/. Use #error in nx_audio.c since it's not supported currently.
2018-10-29 00:30:09 -04:00
Daniel Bernard
bc6d98a534
Expand pow(#, 2) to optimize math in nx_touch
2018-10-28 19:45:07 -04:00
yellows8
982120a9fd
Added touch input support for entering theme-menu via swipe-left.
2018-10-26 20:14:23 -04:00
yellows8
2695d48ba7
Use psm StateChangeEvent to cache isCharging.
2018-10-26 13:12:12 -04:00
yellows8
35f48a59d0
Use applet exit-locking.
2018-10-25 13:28:19 -04:00
yellows8
8888bff85f
Fixed touch handling with netloader msgbox. Swipe up can now be used to exit netloader. Added menuIsNetloaderActive().
2018-10-24 19:47:45 -04:00
yellows8
86632292b0
Display netloader status with a modified msgbox.
...
* Enabled StrIds in language.c for this with some adjustments.
* Moved sockets init/exit into netloaderInit/netloaderExit, netloaderInit now returns Result.
* Changed the params for netloaderGetState to an output struct.
* In netloaderTask(), check netloader_exitflag at the end before clearing it.
* Moved code calling loadnro from netloader_loop into netloaderTask.
* Call thrd_sleep with the while-loop calling netloader_loop in netloaderTask.
* Various other changes.
2018-10-23 20:13:10 -04:00
yellows8
ba4c80d76d
Fixed exiting with + button when netloader is active.
2018-10-22 22:13:33 -04:00
yellows8
45a10488b1
Moved netloader to the worker thread. Minor improvements.
2018-10-20 11:13:29 -04:00
yellows8
59e2d7a306
Display an error screen with print-console instead of using fatalSimple. Display a msgbox in launchFile() when an error occurs instead of using fatalSimple. Better error handling etc in worker/launch.
2018-10-18 19:06:59 -04:00
yellows8
11dccb4fd0
Added worker, based on 3ds new-hbmenu.
2018-10-17 22:18:09 -04:00
yellows8
55efa03f15
Removed gfxWaitForVsync call which is no longer needed with latest libnx.
2018-10-17 13:57:47 -04:00
Daniel Bernard
8b86b36393
Add support to display current charge, and indicate whether or not device is charging ( #67 )
...
* Add support to display current charge, and indicate whether or not device is charging.
Updated Makefile.pc to incorporate new icon binaries
* Refactored power-related code, added drawIcon
Added common power interface
* Add battery icon and shift charge text as required
2018-10-09 18:27:43 -04:00
yellows8
e01ca3150e
Moved path init code from menuStartup() into new func menuStartupPath(), which now creates the config dirs if needed. Added menuGetRootBasePath(), which is now used for config paths and pc-build fonts. Changed some funcs from () to (void). Fixed broken button handling in pc_main for theme-menu. This fixes pc-build support for config/theme-menu.
2018-10-01 12:53:42 -04:00
yellows8
d39efdaee1
Moved code for handling A-button from nx_main/pc_main into a dedicated func, which now only handles menu entries when hbmenu_state isn't netloader. Removed old code.
2018-09-29 17:57:32 -04:00
NightlyFox
992c4c482b
Implemented a theme switcher feature ( #62 )
...
* Implemented Theme Menu.
* Minor adjustments.
* added two new theming attributes, borderColor, borderTextcolor, allows users to modify the boxes that surrounds the menu entries
* added theme info to config file, users can now add theme author, theme name, and theme version to a theme config file.
* tested building on mac osx, added to .gitignore and make clean for files generated on osx
* The path for the theme is now stored in a config string in settings.cfg, instead of a hard-coded theme.cfg path.
* added functions to create/modify settings config for hbmenu theme
* added Default theme entry that will always insert itself at the front of the list of themes
* added code for + and - button, using - button for theme menu now (button display for this is disabled).
2018-09-28 23:20:24 -04:00
Steven Mattera
00e96fd53b
Added touch controls. ( #41 )
...
* Added touch controls.
2018-07-30 17:23:34 -04:00
yellows8
1e232372d2
Use shared-font. Setting s_textLang is still disabled, until language.c is updated. Check for setsysInitialize failure. Moved .nxfnt files into data/unused/. Currently text will not display with the pc-build since no font is loaded for it. Disabled y+=baseline in text-drawing, and adjusted all callers y-pos to manually add the original baseline (so that y-pos matches with the different font).
2018-04-28 11:55:16 -04:00
yellows8
e61285c25e
Added comment regarding audio data/.
2018-03-19 21:49:47 -04:00
yellows8
1364106d73
Use '(void)' for audio_initialize/audio_exit.
2018-03-19 20:57:55 -04:00
yellows8
22740b8f4b
Added code for audio playback via ENABLE_AUDIO define, this is disabled by default.
2018-03-19 20:48:33 -04:00
Dave Murphy
ebced71ec3
Add nxlink support ( #27 )
...
* Add nxlink support
* use libnx nro.h
* make sure path doesn't overflow
* convert indentation to spaces
2018-03-19 21:42:58 +01:00
yellows8
9aaac6f01e
Moved the message-box 'OK' text into language.c. Display the Result from envGetLastLoadResult() with a message-box when required.
2018-03-11 17:43:36 -04:00
Adubbz
e93a484e86
Added basic message boxes
2018-03-05 20:41:42 +01:00
Sahin H
0cb9f3961f
Added system language text change ( #15 )
2018-02-27 14:33:56 -05:00
yellows8
b4fa1825ae
Handle args properly, fixes issue #10 .
2018-02-27 02:08:30 -05:00
yellows8
65d3a19499
Added optional PERF_LOG* defines.
2018-02-26 18:56:52 -05:00
Adubbz
b6b061f2b2
Don't allow going back if you're in sdmc:/ on the switch
2018-02-26 23:52:13 +01:00
Adubbz
ad52da6278
Up and down should move along 7 entries, not 4
2018-02-26 23:52:13 +01:00
Adubbz
50abc932f9
Missed setsysExit (oops)
2018-02-26 23:52:13 +01:00
Adubbz
d534aaa834
Fixed setting themes automatically
2018-02-26 23:52:13 +01:00
Adubbz
b8cf331ff9
Fixed some warnings, theme should now be set based on the system theme
2018-02-26 23:52:13 +01:00
Adubbz
4653c32646
Added a light theme
2018-02-26 23:52:13 +01:00
yellows8
52a012c50f
Pass the actual arg-str start to envSetNextLoad().
2018-02-17 21:17:11 -05:00
yellows8
77baa0c32f
Updated gfx code for latest libnx.
2018-02-12 18:19:23 -05:00
yellows8
b6816abe56
Initial public commit.
2018-02-11 19:07:18 -05:00