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,414
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,250
Trophies
4
Location
Space
XP
13,803
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
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
  • The Real Jdbye @ The Real Jdbye:
    @Psionic Roshambo AI assisted game creation is kinda already here, there was recently that AI that can turn any 2D image into a fully modeled 3D object, it's not perfect, but it's a starting point, beats starting from zero
  • The Real Jdbye @ The Real Jdbye:
    before that there was one to generate a fully modeled scene from a 2D image
  • The Real Jdbye @ The Real Jdbye:
    but most recently, there was one that actually generates a working unity scene with terrain and textures already set up that you can import right into unity, that's a huge time saver right there
  • The Real Jdbye @ The Real Jdbye:
    and using LLMs to generate NPC dialogue and even dynamically generated quests is something i'm sure is already happening
  • The Real Jdbye @ The Real Jdbye:
    will just take some time for games made using those things to be completed and released
    The Real Jdbye @ The Real Jdbye: will just take some time for games made using those things to be completed and released