Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
AUTO_LOWERCASE_KEYBOARD
which swaps the keyboard to the lowercase after the first capital letterDetails
Usage
SwapKeyboardToLowerAfterFirstCapitalLetter
This function runs when the following are true:
AUTO_LOWERCASE_KEYBOARD
is enabledThe keyboard will automatically swap to lowercase.
Testing
Clean Branch
You can recreate this branch by applying a patch or pulling the repo. From a clean version of expansion's upcoming, you can either:
Patch
wget https://files.catbox.moe/v0z1pc.patch -O keyboard.patch ; git apply keyboard.patch ; rm keyboard.patch
Repo
git remote add psf-expansion https://github.com/PokemonSanFran/pokeemerald-expansion/ ; git pull psf-expansion swapKeyboard
Manual Tests
After replicating the branch, to recreate my testing environment, you can either directly download the debug script, or manually create the changes.
Download
TRUE
wget https://files.catbox.moe/y2knrw.h -O include/config/general.h
FALSE
wget https://files.catbox.moe/3y97pw.h -O include/config/general.h
Manual Testing
include/config/general.h
to the desired valuesVerified Scenarios
All videos show:
TRUE
on.mp4
FALSE
off.mp4
People who collaborated with me in this PR
This was originally written by by @Jaizu. Give them all the credit.
Features this PR does NOT handle:
Discord Contact Info
I am
pkmnsnfrn
on Discord.