-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Option for number row to turn into symbols with shift #558
Comments
You can do this yourself now (next release) by customizing the number row layout, and using a json layout with a
|
So I upgraded to 2.3 now and I'm not sure how to do this. |
I did not test, but it should work if you edit the number row and add something like [[
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "1" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "1" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "2" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "3" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "4" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "5" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "6" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "7" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "8" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "9" }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "0" }
}
]] So it's one |
Just go the settings: Advanced>Customize symbols and number layouts>Number row. [
[
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "1" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "@" },
"default": { "label": "2" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "#" },
"default": { "label": "3" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "$" },
"default": { "label": "4" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "%" },
"default": { "label": "5" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "^" },
"default": { "label": "6" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "&" },
"default": { "label": "7" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "*" },
"default": { "label": "8" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "(" },
"default": { "label": "9" }
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": ")" },
"default": { "label": "0" }
}
]
] |
I wonder if it would be possible to keep the long press items too. Pasting that below the default items doesn't work. For convenience these are the defaults from before I did this.
|
Right, here it is with popups and shift-key functionality: [
[
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": {
"label": "1",
"popup": {
"relevant": [
{ "label": "¹" }, { "label": "½" }, { "label": "⅓" }, { "label": "¼" }, { "label": "⅛" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "@" },
"default": {
"label": "2",
"popup": {
"relevant": [
{ "label": "²" }, { "label": "⅔" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "#" },
"default": {
"label": "3",
"popup": {
"relevant": [
{ "label": "³" }, { "label": "¾" }, { "label": "⅜" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "$" },
"default": {
"label": "4",
"popup": {
"relevant": [
{ "label": "⁴" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "%" },
"default": {
"label": "5",
"popup": {
"relevant": [
{ "label": "⁵" }, { "label": "⅝" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "^" },
"default": {
"label": "6",
"popup": {
"relevant": [
{ "label": "⁶" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "&" },
"default": {
"label": "7",
"popup": {
"relevant": [
{ "label": "⁷" }, { "label": "⅞" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "*" },
"default": {
"label": "8",
"popup": {
"relevant": [
{ "label": "⁸" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "(" },
"default": {
"label": "9",
"popup": {
"relevant": [
{ "label": "⁹" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": ")" },
"default": {
"label": "0",
"popup": {
"relevant": [
{ "label": "⁰" }, { "label": "ⁿ" }, { "label": "∅" }
]
}
}
}
]
] |
I was going through my emails and saw this. I just tried it and it works, thank you. |
Is your feature request related to a problem? Please describe.
When typing, I like to use symbols sometimes. I do have the long press keys for symbols option enabled, but it's more confusing when I can just press Shift on Gboard and just have symbols in the layout of any standard PC keyboard replace the numbers.
Describe the solution you'd like
An option that I can enable that enables this. You would have to be careful in implementing it though. Gboard is smart enough to not switch the number row at the beginning of a sentence where it's capitalized by default. It has to be only when the user presses Shift.
Use case
If I'm typing percentages like 90%, (doing this), @'ing someone, typing dollar amounts like $70, or really using any commonly used symbols, it's more convenient.
Describe alternatives you've considered
I do have the show hints option enabled, but if I want to type a percentage, I know from well over a decade of using computer keyboards that it's Shift and 5. Gboard works similarly, press Shift, and 5 becomes %. HeliBoard, if I press shift, I still have numbers. I could look at the hints and long press q, or go to the symbols keyboard, but that takes longer and doesn't match already established computer keyboards.
Additional context

HeliBoard:
Gboard:

The text was updated successfully, but these errors were encountered: