Homebrew brewboard, an opensource software keyboard [library]

titegtnodI

Well-Known Member
OP
Newcomer
Joined
Nov 25, 2014
Messages
82
Trophies
0
Age
30
XP
139
Country
Canada
I wrote a very basic software keyboard for the 3DS. I'm going to make it look nicer later, for now it's functional. It uses textstuff for drawing the text, but that's easily changed to whatever you want.

brewboard-preview.png

Setup
  1. Just follow the instructions to setup your development environment here.
  2. Copy or link "letters.h", "textstuff.h", and "textstuff.c" to your source directory.
Credits
  • Anyone who's helped out with ctrulib
  • insaneKane - The base code for textstuff
  • titegtnodI - Keyboard code
 

titegtnodI

Well-Known Member
OP
Newcomer
Joined
Nov 25, 2014
Messages
82
Trophies
0
Age
30
XP
139
Country
Canada
Wow, nice work! I'll try to implement this into 3DS Controller for the next release.


Thanks! I just checked out your 3DS Controller project, it looks really cool! If there's anything you'd like to see in the keyboard feel free too ask :3. I'll be randomly adding features as time goes on.
 

ztoben

Well-Known Member
Newcomer
Joined
Jan 14, 2014
Messages
46
Trophies
0
Age
31
XP
144
Country
United States
If that's in any shape or form something people would actually use I could write a basic one. I just figured it wouldn't be very useful on the 3DS haha.

It might be a little bit of a novelty, but I actually think I would use it.
 

tickle.my.pickle

Well-Known Member
Member
Joined
May 2, 2013
Messages
101
Trophies
0
Age
29
XP
106
Country
United States
If that's in any shape or form something people would actually use I could write a basic one. I just figured it wouldn't be very useful on the 3DS haha.

I don't use smart phones... so i don't have access via portable devices... if you make one... i would totally use it...
 

titegtnodI

Well-Known Member
OP
Newcomer
Joined
Nov 25, 2014
Messages
82
Trophies
0
Age
30
XP
139
Country
Canada
Just an update, I added in an example and textstuff is now optional (except for the example).

Offtopic: I'll probably look into writing a basic IRC client, don't get your hopes up though.

Also I forgot to respond to Relys: Because AFAIK we can't use applets via the homebrew launcher right now, also it's always nice to have an OS alternative.
 

I pwned U!

I am pleased to beat you!
Member
Joined
Jun 14, 2013
Messages
927
Trophies
3
Age
28
Website
gbatemp.net
XP
684
Country
United States
I have a friend who may be interested in doing that, I'll put it on the list.
Would it also be possible to make a 3DS homebrew app for the PictoSwap website so that it could run much more smoothly and we would not have to rely on the 3DS internet browser to use it?

(or better yet, edit Swapnote to use a custom server to enable SpotPass again)
 

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
Do you have an example for calling the swkbd applet and getting back the input text?

No, but I believe ctrulib has support for IPC between applets. Someone just needs to look into it.

Edit: Ah, just read OPs reply.Thanks for the clarification.
 

titegtnodI

Well-Known Member
OP
Newcomer
Joined
Nov 25, 2014
Messages
82
Trophies
0
Age
30
XP
139
Country
Canada
Would it also be possible to make a 3DS homebrew app for the PictoSwap website so that it could run much more smoothly and we would not have to rely on the 3DS internet browser to use it?

(or better yet, edit Swapnote to use a custom server to enable SpotPass again)

Maybe, we'll look into it. For now we'll focus on a pictochat-like app. I'll put your suggestion on the list though.



Idk apparently its easier to just create it yourself than using prebuilt stuff... </sarcasm>

Because AFAIK we can't use applets via the homebrew launcher right now, also it's always nice to have an OS alternative.

No need to be rude ... Show me an example using the "prebuilt stuff".

No, but I believe ctrulib has support for IPC between applets. Someone just needs to look into it.

Until then, we have this. Again, it's still nice to have an OS alternative.
 
  • Like
Reactions: AlbertoSONIC

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
I checked in ctrulib code:
Code:
Result APT_LaunchLibraryApplet(NS_APPID appID, Handle inhandle, u32 *parambuf, u32 parambufsize);
 
//This should be used for launching library applets, this uses the above APT_StartLibraryApplet/APT_PrepareToStartLibraryApplet funcs + apt*Session(). parambuf is used for APT params input, when the applet closes the output param block is copied here. This is not usable from the homebrew launcher. This is broken: when the applet does get launched at all, the applet process doesn't actually get terminated when the applet gets closed.

If Smealum can't make it work yet, a custom implementation is our only choice at the moment ;)
 
  • Like
Reactions: filfat

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
I checked in ctrulib code:
Code:
Result APT_LaunchLibraryApplet(NS_APPID appID, Handle inhandle, u32 *parambuf, u32 parambufsize);
 
//This should be used for launching library applets, this uses the above APT_StartLibraryApplet/APT_PrepareToStartLibraryApplet funcs + apt*Session(). parambuf is used for APT params input, when the applet closes the output param block is copied here. This is not usable from the homebrew launcher. This is broken: when the applet does get launched at all, the applet process doesn't actually get terminated when the applet gets closed.

If Smealum can't make it work yet, a custom implementation is our only choice at the moment ;)


Hmmm, so is it possible to even launch the applet (even though it will remain as a zombie process when closed)?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Quincy @ Quincy:
    But yes I would welcome MP4 too or even 2+3 remaster/HD to hold us over untill MP4
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 Switched at birth
  • Quincy @ Quincy:
    I check brew almost daily (alongside tinfoil sorted on release date) for new games (and cry because of the amount of shovelware and hentai getting released), am unaware of the 2u site
  • Psionic Roshambo @ Psionic Roshambo:
    Super Switch
  • Quincy @ Quincy:
    HUB
  • Quincy @ Quincy:
    And the switch 3 Router
  • Quincy @ Quincy:
    (every one of those fitting after network-, and all play part in the OSI networking layer model)
  • BigOnYa @ BigOnYa:
    Google switch nsp and you will see,it, that site
  • Quincy @ Quincy:
    Aww how cool that site is Nintendo switch to me :D
    +1
  • Quincy @ Quincy:
    (de-URLing the URL 🤣)
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 U
  • Quincy @ Quincy:
    (or do we call them URIs now?)
  • Quincy @ Quincy:
    Yes to me, that's what I said as well 🙃😋
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 Side Switching
  • Quincy @ Quincy:
    Swiitch
  • Quincy @ Quincy:
    Oh lord, I actually can see Nintendo pulling that one, II for 2 and also a homage to the Wii
  • Psionic Roshambo @ Psionic Roshambo:
    Super Crown Bowser edition Switch lol
  • Psionic Roshambo @ Psionic Roshambo:
    Analog stick nipples
  • BigOnYa @ BigOnYa:
    Yea i have couple other sites I find Switch titles also and just looked, I don't see it out/leaked yet...(paper mario)
  • Quincy @ Quincy:
    Or even worse; circle pad ball fondlers like on the 3DS
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutants looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
    Quincy @ Quincy: Usually when such a big title leaks the Temp will be the first to report about it (going off of...