Homebrew HBKBLib - A 3DS Keyboard Library

jbr373

Member
OP
Newcomer
Joined
Aug 17, 2015
Messages
18
Trophies
0
Age
30
XP
227
Country
Gambia, The
Hello everyone!

Today I'm showing you my first 3DS Project, the HBKB (HomeBrew KeyBoard) Library.
This Library is written in C++ and is intended for pretty much every Program designed around Keyboards, like Web Browsers and File Explorers.

The Keyboard looks like this:
Vru59nQ.png

1HhqihZ.png


If you include this Library in your Project, you'll be able to use the Keyboard with these 3 simple functions:
HBKB_CallKeyboard(touchPosition touch); = Call Keyboard (Write Graphics, check User Touch Position)
HBKB_CheckKeyboardInput() = Returns a std::string with the Input made by the User
HBKB_Clean() = Reset Keyboard

You can find more in the ReadMe File. Also included is a little Demo Program which shows how to use the Library. This .zip includes the Library Source Code, as well as the Demo Source Code.
I hope you find this Release helpful!

Compilation:
In case you don't have your DevkitPro installed in /usr/local/, you need to comment that out in the Makefile. The First 2 Lines, to be exactly.

Also, you can find a already compiled Version of the Library in the Source for the Demo Application, in case you get issues with compilation. The Library is in the "hbkb" Folder in the Demo Source.

##
# UPDATE
##

I updated the Library to Version 1.0.4.
This Update fixes an Issue with Key Spamming and Input Accuracy. Sorry if you had issues with it.
 

Attachments

  • hbkblib_v104.zip
    699.8 KB · Views: 2,417
Last edited by jbr373,
D

Deleted User

Guest
Hello everyone!

Today I'm showing you my first 3DS Project, the HBKB (HomeBrew KeyBoard) Library.
This Library is written in C++ and is in intended for pretty much every Program designed around Keyboards, like Web Browsers.

The Keyboard looks like this:
Vru59nQ.png

1HhqihZ.png


If you include this Library in your Project, you're able to use the Keyboard with 3 simple functions:
HBKB_CallKeyboard(touchPosition touch); = Call Keyboard (Wrtie Graphics, check User Touch Position)
HBKB_CheckKeyboardInput() = Returns a std::string with the Input made by the User
HBKB_Clean() = Reset Keyboard

You can find more in the ReadMe File. Also included is a little Demo Program which shows how to use the Library. This .zip includes the Library Source Code, as well as the Demo Source Code.
I hope you find this Release helpful!
How do I compile stuff?
 

Helreizer543

Well-Known Member
Newcomer
Joined
Nov 24, 2014
Messages
49
Trophies
0
Age
102
XP
119
Country
United States
I wanted to add a little something for users that are trying to compile the library on windwos.
1. comment out the first 2 lines in the make file if your ctrulib is installed in the default location.
2. In the download rename, the folder "Library Source" to just "Library".
After that the library should compile.
 

jbr373

Member
OP
Newcomer
Joined
Aug 17, 2015
Messages
18
Trophies
0
Age
30
XP
227
Country
Gambia, The
Glad to see you guys like it :)
And thanks Helreizer543, I forgot to remove that from the Makefile, I'll update the OP. There is a compiled version of the Library included in the Source for the Demo Application, in case someone wants to skip the Compilation or has issues with it.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,316
Trophies
4
Location
Space
XP
13,894
Country
Norway
Simple, easy and clean. I like it. I especially like that it doesn't waste any space on the bottom screen, but is made to maximize the size of the buttons to make them easier to press.
If/when I get a good idea and decide to make a 3DS homebrew, I'll be sure to use this. Which may never happen, but you never know :P
 

lolzvid

Well-Known Member
Member
Joined
Dec 26, 2014
Messages
148
Trophies
0
Age
22
XP
278
Country
Brazil
Sorry for bumping this thread, but is there a command similar to "scanf"? It would help a lot when making apps with a lot of usage of the keyboard ;)
 

Chrisser_75

Well-Known Member
Member
Joined
Dec 12, 2014
Messages
264
Trophies
0
Location
Germany
XP
321
Country
Germany
Could someone test it if it work? :)

HBKBLib: iDroid Theme-Mod

Description:
A modern iOS 8 / Lillipop keyboard theme for @jbr373's HBKBLib (Ver. 1.0.4)

Preview:
hbklib-idroid-mod-prev.png

TO DO:
It would be nice if someone could implement the HBKBLib, with this keyboard layout and give me a report. :)
done by: @Shadowtrance thx


Graphics:
Download here!

or Dropbox
 

Attachments

  • HBKBLib_iDroid_mod.zip
    51.3 KB · Views: 550
Last edited by Chrisser_75,

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Could someone test it if it work? :)

HBKBLib: iDroid Theme-Mod

Description:
A modern iOS 8 / Lillipop keyboard theme for @jbr373's HBKBLib (Ver. 1.0.4)

TO DO:
It would be nice if someone could implement the HBKBLib, with this keyboard layout and give me a report. :)

Graphics:
Download here!
Yep it works, and looks pretty good :)
How do we get the X and Tick to not exit the homebrew and instead have the tick act like enter and the X act like... umm i don't know, something else lol?

Dphaqiz.png
 
Last edited by Shadowtrance,
  • Like
Reactions: Chrisser_75

Chrisser_75

Well-Known Member
Member
Joined
Dec 12, 2014
Messages
264
Trophies
0
Location
Germany
XP
321
Country
Germany
Yep it works, and looks pretty good :)
How do we get the X and Tick to not exit the homebrew and instead have the tick act like enter and the X act like... umm i don't know, something else lol?

Dphaqiz.png

Thanks! :D
E.g. change the x-function to an enter-function, place the "Enter"-Button on the right and the left button exit the homebrew.
[__exit__] & [__enter__] button? :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro