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,415
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,256
Trophies
4
Location
Space
XP
13,813
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: 549
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
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr