Since Danzel, the author of AFKIM, has released the stand-alone source code of the OSK (On-Screen Keyboard) in his 2.0 version of AFKIM, it itsn't a surprise that other homebrew developers have been tinkering with this one.
This time homebrew developer, cancan, has came up with an adaptation of the Danzeff OSK created by Danzel. Read on for the needed infos about this latest addition to homebrew development straight from cancan himself.
First at the beginning of the your main script:
-dofile("danzeff.lua") -- This will include the danzeff.lua script in your application
-To initalize your keyboard variable with the Danzeff class: (you can put what you want as keyboard name, here I used "mykeyboard")
-This must be done once per application
-mykeyboard = Danzeff:New()
-To initialize the keyboard and display it on the screen: x represent the x position of the keyboard on the screen, y the y position
To read the input from the keyboard: newchar if the variable where you want to store the value (it is an integer), pad is your Controls.read() variable
newchar = mykeyboard:Input(pad)
To display the keyboard
Like it? Share with your friends!
If you got an error while installing Themes, Software or Games, please, read FAQ.
LuaPlayerHM Homemister has released a new version of LuaPlayerHM, bumping the application up to version 4
A_Engine_lua pre-Alpha For those who are about to enter the wonderful world of coding homebrews, coder a_noob has just released a new programming language engine known as A_Engine_lua