• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] How do I make my game only use the keyboard

  • 68
    Posts
    6
    Years
    • Seen Sep 19, 2023
    In v.16 you could go to the bottom of your settings and just enable the keyboard setting. Now it's not so simple. Is there a way that I can script this into my game now? Help much appreciated.
     
    If you just want to change the default input method, look in PScreen_Options, in def initialize. There change the value of @textinput from 0 to 1. It is on the line 30-something by default. This will preset the default input mode, but it will only work if there is no save file ie you need to physically go an delete the save file from your computer.

    To force the player to use Keyboard only, Use Ctrl+Shift+F and look for
    Code:
    Option.new(_INTL("Text Entry"),
    Or something along those lines, in PScreen_Options. Then comment out that line and 4 more below it.
     
    Back
    Top