Changing the keyboard inputs of Zeus81's Fullscreen++ Script

● ARCHIVED · READ-ONLY
Started by Robert-Developer_of_Bis 9 posts View original ↗
  1. Hello! This should be a fairly simple request; by default, Zeus81's Fullscreen++ Script (https://forums.rpgmakerweb.com/index.php?threads/fullscreen.14081/) uses the buttons F5 and F6 to function, and I would like to change these inputs to F3 and F4. Normally changing the inputs is a trivial matter, but this script has no apparent options to do so, and I haven't found the relevant section in the script after several readings, either.

    Any help with this, as always, is appreciated.
  2. Go to def update at the (nearly) very bottom of the script. Change these two lines:

    toggle_fullscreen if Input.trigger?(Input::F5)
    toggle_ratio if Input.trigger?(Input::F6)

    To:

    toggle_fullscreen if Input.trigger?(Input::F3)
    toggle_ratio if Input.trigger?(Input::F4)

    That assumes you want fullscreen to be F3 and ratio to be F4. If not change those to whatever keys you want them to be.

    As far as I can tell that should work, test it and let us know.
  3. Game crashes on startup for me.
    F3.PNG
  4. Input::F4 and such wont work because default input only handle from F5 to F10.
    To modify this, you will need an external script for custom keyboard mapping.
    There're plenty of the scripts out there, but I forgot which and who made the script.
    Once you found one, post here and maybe I could try to point out how to integrate both.
  5. ..Okay, my laptop crashed, deleting my incomplete post, so I'm going to summarize it...

    -I use a keyboard script, Cidiomar's Full Input Keyboard (http://himeworks.com/2013/07/full-input-keyboard/).
    -Thank you for keeping this thread going; I forgot about it after 30 minutes.
    -On a side note, while you're here @TheoAllen, I use your inventory script, and it's very nice. However, I need to have it modified for my project. Is it okay to commission someone to do so (I have Sixth in mind, he's got a script shop.), despite the fact that it's yours?
  6. Tested Cidiomar's script, should work pretty straight.
    Follow bgillisp, but change it to
    Code:
    toggle_fullscreen if Input.trigger?(:F3)
    toggle_ratio      if Input.trigger?(:F4)

    As for the side note, yes my script is free to edit :)
  7. Thank you all for the help; and this reminds me- part of the post that was lost said "...I'm a little frustrated that I didn't see that section after three readthroughs;" and I still am. This thread was entirely unnecessary! D:<
  8. TheoAllen said:
    Tested Cidiomar's script, should work pretty straight.
    Follow bgillisp, but change it to
    Code:
    toggle_fullscreen if Input.trigger?(:F3)
    toggle_ratio      if Input.trigger?(:F4)

    This is correct with all keyboard scripts. It's just a matter of what the controlling input is.
    I have Glitchfinders keyboard script and the control is
    Code:
        toggle_fullscreen if Keys.trigger?(0x72)
        toggle_ratio      if Keys.trigger?(0x73)

    Thanks for teaching me more @TheoAllen
  9. Yeah it depends on which keyboard mapping script
    If you use CP keyboard input (which personally I use, I just looked at my project), you would need
    Code:
    Keyboard.trigger?(:kF4)
    That's why I'm asking the OP to search / post the script first, since different script would require different approach