Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hcesar.map #118

Closed
wants to merge 1 commit into from
Closed

Add hcesar.map #118

wants to merge 1 commit into from

Conversation

mareuo
Copy link

@mareuo mareuo commented Jun 10, 2024

This adds hcesar layout, for portuguese speaking countries.

@legionus
Copy link
Owner

Please explain what kind of hcesar keyboard layout is this?
Do you have links with description or images?

Also kbd uses DCO to format patches. Please add Signed-off-by tag in the commit message. Everything else looks good.

https://github.com/legionus/kbd/blob/master/docs/process/howto-contribute.md#sending-patches

@mareuo
Copy link
Author

mareuo commented Jun 10, 2024

Hcesar is a non-qwerty keyboard optimized for Portuguese, much like the Turkish F for Turkish.
It was made until 1985, when last typewriter factory closed.

It's available here: https://help.keyman.com/keyboard/hcesar/1.2/hcesar
The layout looks like this: https://en.wikipedia.org/wiki/HCESAR#/media/File:KB-Hcesar.svg

keycode 26 = plus asterisk dead_diaeresis
control keycode 26 = Escape
alt keycode 26 = Meta_bracketleft
keycode 27 = dead_acute dead_grave apostrophe grave
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is apostrophe on this key? Can we document this decision?

Copy link
Author

Choose a reason for hiding this comment

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

its the same as in pt-latin1.map.
maybe it should be acute.

charset "iso-8859-1"
keymaps 0-2,4,6,8,12
alt_is_meta
include "qwerty-layout"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to include qwerty-layout if it's a non-qwerty layout?

Copy link
Author

Choose a reason for hiding this comment

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

no

control keycode 43 = Control_backslash
alt keycode 43 = Meta_backslash
keycode 44 = y
keycode 45 = +ccedilla Ccedilla
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps it should be +ccedilla +Ccedilla?

Copy link
Author

Choose a reason for hiding this comment

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

its +ccedilla Ccedilla
on pt-latin1.map and pt-latin9.map.

control keycode 41 = nul
alt keycode 41 = Meta_grave
keycode 42 = Shift
keycode 43 = dead_tilde dead_circumflex asciitilde asciicircum
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see ~ on https://en.wikipedia.org/wiki/HCESAR. Why was it decided to put it on this key?

Copy link
Author

Choose a reason for hiding this comment

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

its there, same as pt-latin1.map.

Copy link
Author

Choose a reason for hiding this comment

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

for ã, õ, ñ.

Copy link
Author

Choose a reason for hiding this comment

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

til

keycode 37 = l
keycode 38 = m
keycode 39 = x
alt keycode 39 = Meta_semicolon
Copy link
Contributor

Choose a reason for hiding this comment

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

Why 39 is x, but alt 39 is M-;? I don't see a key with M-x.

Copy link
Author

Choose a reason for hiding this comment

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

my mistake

@mareuo
Copy link
Author

mareuo commented Jun 10, 2024

Signed-off-by: Mario Oliveira <[email protected]>

@legionus
Copy link
Owner

Signed-off-by: Mario Oliveira <[email protected]>

Please add this line into the commit message. Other than that LGTM.

@legionus
Copy link
Owner

@mareuo You need to squash commits.

This adds hcesar layout, for portuguese speaking countries.

fixes

Signed-off-by: Mario Oliveira <[email protected]>
legionus added a commit that referenced this pull request Jun 23, 2024
Add hcesar layout, for portuguese speaking countries. This keymap is
more like a tribute to history.

Link: #118
Signed-off-by: Alexey Gladkov <[email protected]>
@legionus
Copy link
Owner

Applied with minor changes.

@legionus legionus closed this Jun 23, 2024
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.

None yet

3 participants