Homebrew Question Software keyboard example failing

  • Thread starter Thread starter gking53
  • Start date Start date
  • Views Views 1,521
  • Replies Replies 4

gking53

Member
Newcomer
Joined
Jul 10, 2018
Messages
10
Reaction score
10
Trophies
0
Age
27
XP
351
Country
Canada
Was looking at the examples provided by libnx today. Went to try the software-keyboard one which results in an error code being displayed (0x5d95) when the swkbdShow function returns. I assume this is a failure code, yet I cannot find the resulting error in any libnx documentation. Currently on 6.2, just wondering if anyone has gotten this to work in the past or currently, would be a nice tool to have for user input!
 
Add this to the code before main():

Code:
void userAppInit(void)
{
   void *addr = NULL;
   svcSetHeapSize(&addr, 0x4000000);
}
I'm assuming yellows8's setup allocates more for him. He might not even know it's needed for the distros flying around. Just a guess though.
 
  • Like
Reactions: ELY_M
Add this to the code before main():

Code:
void userAppInit(void)
{
   void *addr = NULL;
   svcSetHeapSize(&addr, 0x4000000);
}
I'm assuming yellows8's setup allocates more for him. He might not even know it's needed for the distros flying around. Just a guess though.
Yep that worked perfectly! Thanks a ton! Still have to read up on how all of these services and applets work sometime :D
 
  • Like
Reactions: ELY_M

Site & Scene News

Popular threads in this forum