Element suggestion: Keyboard input

  • destratus
    26th Mar 2016 Member 1 Permalink

    This element would send out a sprk signal upon a designated key being pressed. Once the element has been placed into the save a popup box would apear asking for you to press a key. Once the key is pressed the input would be set. I know there would be a few problems with this but i thought it would be a cool idea to post.

  • thomasxin
    26th Mar 2016 Member 0 Permalink

    Well, what are you going to do about the already-used keys?

     

    I'm talking about [SPACE], [ESC], Q, W, E, R, Y, U, I, A, S, D, F, G, H, K, L, Z, B, N, `, !, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, : and ;.

     

    I think that's pretty much all the keys.

  • LBPHacker
    26th Mar 2016 Developer 0 Permalink

    Yo, this is easily doable using Lua. Anyone interested? If nobody answers in a day, I'll do it. Scratch that, I've done it. Available here (EDIT: fixed link). You just have to get it to autorun somehow. The script adds a new element, KEYD, which behaves like METL. Associate keys using its tmp value. It emits sparks while the key associated with it is being pressed.

     

    Edited 3 times by LBPHacker. Last: 26th Mar 2016
  • Sandwichlizard
    26th Mar 2016 Member 0 Permalink

    your link is broken

  • LBPHacker
    26th Mar 2016 Developer 0 Permalink

    Ah. I uploaded it as Boost.KEYD.lua for some reason. Here it is. Also, the parent folder is indexable. Lots of fun stuff there with outdated descriptions. EDIT: Updated them.

    Edited once by LBPHacker. Last: 26th Mar 2016
  • CeeJayBee
    27th Mar 2016 Member 0 Permalink
    @boxmein (View Post)
    so is that a yes or a no
  • boxmein
    27th Mar 2016 Former Staff 0 Permalink
    @CeeJayBee (View Post)
    good question! the PR was declined forever ago, but the code is still there so
    Edited once by boxmein. Last: 27th Mar 2016
  • Sandwichlizard
    27th Mar 2016 Member 0 Permalink

    this is an awesome idea.  breaking the 4th wall is a non excuse.  this will increase interaction, draw people into the game and increase popularity.  Soo many machines have mutiple buttons to CLICK-SPRK.  this would really make some saves way more user friendly and engaging.

  • ian5
    1st May 2016 Member 0 Permalink

    I'd say have a option on the sidebar to enable or disable so you can still use shortcuts, but also this element.