Non-Lua Keyboard.

Chad64 - Custom level - from Android
PlayEdit9 players liked this.Log in to like this level.

For anyone's use, if needed. (Give me credits)

Frequency list:
100~109 = numbers
110~135 = letters
136 to 183 respectively =
- = backslash [ ] ; ' , . / ` backspace enter space escape f1 f2 f3 f4 f5 f 6 f7 f8 f9 f10 f11 f12 windows, tab, shift, shift(state), control, control(state), alt, alt(state), fn, fn(state), up, down, left, right, insert, delete, home, end, pageup, pagedown, capslock

*created keyboard
*numbers and letters feedback added, others wip
*right keys created, will polish, dont worry
*full keyboard created
*shift mechanics wip
*switched lua with a broadcaster, so now my keyboard is once again non-lua!
*removing right part wip, because of visual bugs. right part keys will be moved as shift triggered extra keys
*keyboard finished! well, atleast the outputs and display anyways. Lua WIP
*Lua almost done! just hav to finish frequency range 136~171+shift letterz
*added frequency range 136~146, will do aLOT of bugfixing later, like f12 which i didnt notice
*tons of new stuff, shift finished, f's WIP, function keyState(key) WIP
*All done.

Views: 769 Downloads: 219 Unique objects: 1 Total objects: 432



Discuss this level

Log in to comment on this level.
  • Sourceli: @Chad64: oh sorry did you not see in that chat my brother went on my pc sorry about that I just checked this out its really cool
  • Chad64: @Sourceli: This was originally made as a keyboard for PrincipiaOS, because there is no way you can use your android keyboard for input in Principia, and holding shift on a real keyboard subs the numbers for specific symbols. It's not "bad", it's "accurate"
  • Sourceli: Oh this is so bad you made it so that caps makes the numbers go into the symbols your so bad you noob oh and btw there is a keyboard build onto your pc/phone fyi
  • JupiterSky: OK so I am on the PC now, so I can test AND make!
  • JupiterSky: @Chad64: No, I want to. :P
  • JupiterSky: @Chad64: OK, irl keyboard support is coming riiiiiiiggght up!
  • principiafreak300: @Chad64: Jeeeeee!!!1eleven!!
  • RasmusOlle: LOLOLOLOLOL
  • Chad64: @principiafreak300: IS DUNNN! You can use it for your debugging now, complete with a keyboard.getKey() function which sends a certain string if a key is pressed, and nil if otherwise. Also a keyboard.getState(Key) function where key can be "shift", "tab", "control", or "fn". It sends boolean true if Key is currently toggled on
  • Chad64: @JupiterSky: I could start with the pc keyboard support if u want since I'm all done lol
  • principiafreak300: @Chad64: Nice nice nice nice epic!
  • Chad64: @principiafreak300: ITS ALMOST DONE!! hell I've learned alot because of this lol. especially that broadcast thing lol. I just need 3 things finished:
    - the F boys
    - another function to tell if caps, alt, ctrl are currently on
    - heck ton of key listeners
  • JupiterSky: @Chad64: ok!
  • Chad64: @JupiterSky: Im not done with shift, and i have alot of work to do that has something to do with frequencies 147~up. Im having fun anyways lol. You can start with whatever you wanted to do as long as the stuff you need are already done
  • principiafreak300: Nice!
  • JupiterSky: @Chad64: Are you done with the shift and stuff yet? It is coming along so well, and it is so stinking satisfying to bush da buttons. And the space bar too.
  • JupiterSky: @aperture: Pi support?! How do you even play this game!
  • JupiterSky: @aperture: Am I though?
  • Chad64: @aperture: lol, either way im sure that's some hard work, plus the fact that atleast being able to add a new object/feature to this game is already something better than that
  • aperture: @JupiterSky: yes, I meant raspberry pi support
    And we are the people of the earth
  • JupiterSky: @aperture: we??
  • JupiterSky: @Chad64: That is what I mean... OH! You were talking about physical to lua support. I can do that as well!
  • aperture: Just make an OS outside principia, then modify it for Raspbian support and, bam!
    We have a handheld principia device
  • Chad64: @JupiterSky: i thought you wanted to do the physical keyboard support, im not really sure if i understand what physical keyboard means, well, i thought it was support for the pc keyboard so that people can use it on their own keyboard on pc
  • JupiterSky: @Chad64: that is what I wanted to do lol
  • Chad64: @principiafreak300: so do i just have to make a function that returns a string ? like:
    if getKey()=="j" then
    game:message("i like giraffez")
  • JupiterSky: @Linux: I saw that, it was cool!
  • Chad64: @Linux: im making a non lua one for boredom's sake lol. You should tell principiafreak300 about your keyboard
  • Linux: Uh chad I made a keyboard Lol
  • JupiterSky: @Chad64: Ok, school seems to be hitting the internet hard, not much is popping about.
  • Chad64: @principiafreak300: @JupiterSky: work on this will resume tomorrow
  • JupiterSky: @Jaegar: Let's go.
  • Jaegar: @JupiterSky: i am in war
  • principiafreak300: @Jaegar: Using is OK, but please say it was made by him.
  • JupiterSky: @Jaegar: I am soon adding a part time this too, Jaegar. So it is not he just his. Yet. So soon... So soon.
  • JupiterSky: @Hobbit: Copyrights.
  • Hobbit: Wait, what's going on... Why all the fighting?
  • Jaegar: @principiafreak300: @JupiterSky: well i can use it anyway
  • JupiterSky: @Jaegar: stink it. @Chad64.
  • principiafreak300: @Jaegar: Oh man. The idea was by Chad, so he has some kind of copyright.
  • Jaegar: @Chad64: @JupiterSky: yes i will
    It is not owned by any of you, so i can be free to use it without your athority
  • principiafreak300: Please make a robot or a penguin out of the windows logo :)
  • JupiterSky: @Jaegar: Don't you dare.
  • JupiterSky: Wow, this is coming along great! Can't wait to see what it is like completed!
  • Chad64: @Jaegar: it would be a war*
  • Jaegar: @Chad64: nice level
    It would be a shame if someone, stole it
  • electro: Lol
    It is perfectly fine if you use Lua
  • Chad64: @electro: i take back the non lua, i need it for the shift key xD
  • Chad64: @principiafreak300: ill see how i could implement it
  • electro: Yes, your also good :)
  • Chad64: @electro: cralant made an awesome one, sure. Though mine will be very flexible, using receivers to send output, wherein you can do all sorts of stuff. Pretty much mine would be something like a huge RC that's shaped like a keyboard, where the output of each key is yours to set. So it's up to you if you're gonna use lua or not.

    Plus, mine is non-Lua, and has allowed deriviatives B)
  • principiafreak300: OK, a nice, but not necessary (lots of work!) Feature would be keys changing if shift is pressed. This is annoying to hell, but if you want to do it, it would fit.
  • electro: See level 4194
  • Chad64: @MARRA92: thanks! I myself am excited to see it functioning properly :D
  • MARRA92: O.O omg this is insane!!!!!!!!!!!! great job!
  • Chad64: @principiafreak300: replaced numlock with fn, cos fn might come in handy for ya
  • principiafreak300: @Chad64: Well done, thanks!
  • JupiterSky: @Chad64: Ok, I will start when you are done. This project will be amazing...
  • Chad64: @JupiterSky: sure, once i get all the transmitters done. :) you can start now, but you'll only be able to do the letters and numbers
    @principiafreak300: btw i made it so that the keyboard uses frequencies from 100 and above, so 0~99 frequency is still free to use
  • Chad64: @principiafreak300: I'll just do all the keys, so that it looks nice lol
  • JupiterSky: @Chad64: Does this have support for phisical keyboards? I can help with that if you would like.
  • JupiterSky: @principiafreak300: ohhhh. A home button at least would be nice lol
  • principiafreak300: @Chad64: Rest of keyboard yes, but no windows button, thats what i meant
  • JupiterSky: @Chad64: yes! (Why not)
  • JupiterSky: Yes! Another windows user! The little home button should be like... idk, something principia lol.
  • principiafreak300: @Chad64: No
  • Jaegar: @principiafreak300: could i use this for my level when this is finished?
  • Chad64: oh, and should i add the rest of the keyboard?
  • Chad64: @principiafreak300: ill make the shift, ctrl, alt and capslock toggle buttons. will the windows key be of any work?
  • principiafreak300: @Chad64: Yeah that's right xD
  • Chad64: I've always wanted to make a keyboard in this game :3 but I thought it was gonna be useless back then so i never did it. Now it has some use :D

LEVEL ID: 26111