Skip to content

hcesar layout - portuguese (portugal)#513

Closed
ghost wants to merge 9 commits into
masterfrom
unknown repository
Closed

hcesar layout - portuguese (portugal)#513
ghost wants to merge 9 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Apr 15, 2025

Copy link
Copy Markdown

image
image

Hello, ive figured out the design, like this:
hcesar
I used Dvorak as base. And added « » to shift + , and shift + .
I need help with the coding. I was Ergo-L pr, but im noob.

@rkkr

rkkr commented Apr 15, 2025

Copy link
Copy Markdown
Owner

Same comment as in other layout PR: , and . are special as one holds settings and the other special chars so they can't move.

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

They can move, they are moved in Dvorak and PC.

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

image
image

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

I cant delete ç or change the layout:
image

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

image

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

image
^this dvorak, didnt have to move the backspace

image

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

Same comment as in other layout PR: , and . are special as one holds settings and the other special chars so they can't move.

image
image
^ the q can hold the settings and z the special chars,

so this is the best layout:
image
other designs will break the vertical order. C-T-Ç or C-T-J are correct. C-T-Y is not.

@ghost

ghost commented Apr 15, 2025

Copy link
Copy Markdown
Author

similar layout: openboard-team/openboard#864
image

@rkkr

rkkr commented Apr 16, 2025

Copy link
Copy Markdown
Owner

If you'll put settings and special chars popups on y and w you'll loose their accents. And if accents and special chars are put together it becomes a mess. Dvorak does have that mess.

I probably won't mind if backspace is moved to the top row if you need more space in the bottom row. It's inconsistent with other layouts but technically there's nothing wrong with that.

You also didn't include the layouts so this PR isn't ready.

@ghost ghost marked this pull request as draft April 16, 2025 09:22
@ghost

ghost commented Apr 16, 2025

Copy link
Copy Markdown
Author

Captura de ecrã 2025-04-16 122151

I was working with the Dvorak files. How do I make sure the accents are correct?
I’ll keep the backspace in the same position, I installed Android Studio, the Emulator crashed.

@ghost ghost marked this pull request as ready for review April 17, 2025 13:56
@ghost

ghost commented Apr 19, 2025

Copy link
Copy Markdown
Author

image

I made the layout for HeliBoard:
HeliBoard/app/src/main/assets/layouts/main/hcesar.json

I need the diacritics be correct:
HeliBoard/app/src/main/assets/locale_key_texts/pt.txt
And lastly, the « » on , and .

@ghost

ghost commented Apr 19, 2025

Copy link
Copy Markdown
Author

hces
^like this, the layout dosn't have zero

@ghost

ghost commented Apr 22, 2025

Copy link
Copy Markdown
Author

The layout has been finalized, and the files have been added too.

case LOCALE_POLISH:
case LOCALE_PORTUGUESE_BRAZIL:
case LOCALE_PORTUGUESE_PORTUGAL:
addLayout(LAYOUT_HCESAR);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hcesar is added to all languages above

latin:keySpec="p"
latin:keyHintLabel=">"
latin:additionalMoreKeys="!text/keyspec_greater_than"
latin:moreKeys="!text/morekeys_p" />

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When keyboard opens I get an exception java.lang.RuntimeException: Unknown text name=morekeys_p

<!-- Description for Ergo-L keyboard layout. -->
<string name="subtype_ergol">Ergo-L</string>
<!-- Description for Hcesar keyboard layout. -->
<string name="subtype_hcesar">Hcesar</string>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason Hcesar layout is not shown in the layout list in Portuguese language settings.

case SubtypeLocaleUtils.LAYOUT_ERGOL:
case SubtypeLocaleUtils.LAYOUT_FARSI:
case SubtypeLocaleUtils.LAYOUT_GEORGIAN:
case SubtypeLocaleUtils.LAYOUT_HCESAR:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why no autocapitalization?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add that?

@ghost ghost closed this by deleting the head repository May 28, 2025
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant