Homebrew HBKBLib - A 3DS Keyboard Library

  • Thread starter Thread starter jbr373
  • Start date Start date
  • Views Views 28,340
  • Replies Replies 62
  • Likes Likes 37

jbr373

Member
Newcomer
Joined
Aug 17, 2015
Messages
18
Reaction score
152
Trophies
0
Age
32
XP
247
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

Last edited by jbr373,
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?
 
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.
 
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.
 
Very nice. I was going to implement a keyboard library for my game engine but I may use this one now.
 
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
 
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 ;)
 
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

Last edited by Chrisser_75,
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
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