Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/protocols/rdp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ rdp_keymaps = \
$(srcdir)/keymaps/en_gb_qwerty.keymap \
$(srcdir)/keymaps/en_us_qwerty.keymap \
$(srcdir)/keymaps/es_es_qwerty.keymap \
$(srcdir)/keymaps/es_es_dvorak.keymap \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As with the client-side changes, the es_es_dvorak entry should go above the es_es_qwerty entry...

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.

Done. I'll be checking build failure.

$(srcdir)/keymaps/es_latam_qwerty.keymap \
$(srcdir)/keymaps/fr_be_azerty.keymap \
$(srcdir)/keymaps/fr_ca_qwerty.keymap \
Expand Down
64 changes: 64 additions & 0 deletions src/protocols/rdp/keymaps/es_es_dvorak.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

parent "base_altgr"
name "es-es-dvorak"
freerdp "KBD_SPANISH_DVORAK"

#
# Basic keys
#

map -caps -altgr -shift 0x29 0x02..0x0D ~ "º1234567890'¡"
map -caps -altgr -shift 0x10..0x19 0x1B ~ ".,ñpyfgchl+"
map -caps -altgr -shift 0x1E..0x27 0x2B ~ "aoeuidrtnsç"
map -caps -altgr -shift 0x56 0x2C..0x35 ~ "<-qjkxbmwvz"

map -caps -altgr +shift 0x29 0x02..0x0D ~ "ª!"·$%&/()=?¿"
map -caps -altgr +shift 0x10..0x19 0x1B ~ ":;ÑPYFGCHL*"
map -caps -altgr +shift 0x1E..0x27 0x2B ~ "AOEUIDRTNSÇ"
map -caps -altgr +shift 0x56 0x2C..0x35 ~ ">_QJKXBMWVZ"

map +caps -altgr -shift 0x29 0x02..0x0D ~ "º1234567890'¡"
map +caps -altgr -shift 0x10..0x19 0x1B ~ ".,ÑPYFGCHL+"
map +caps -altgr -shift 0x1E..0x27 0x2B ~ "AOEUIDRTNSÇ"
map +caps -altgr -shift 0x56 0x2C..0x35 ~ "<-QJKXBMWVZ"

map +caps -altgr +shift 0x29 0x02..0x0D ~ "ª!"·$%&/()=?¿"
map +caps -altgr +shift 0x10..0x19 0x1B ~ ":;ñpyfgchl*"
map +caps -altgr +shift 0x1E..0x27 0x2B ~ "aoeuidrtnsç"
map +caps -altgr +shift 0x56 0x2C..0x35 ~ ">_qjkxbmwvz"

#
# Keys requiring AltGr
#

map +altgr -shift 0x29 0x02..0x04 0x07 ~ "\|@#¬"
map +altgr -shift 0x12 0x1A 0x1B ~ "€[]"
map +altgr -shift 0x28 0x2B ~ "{}"

#
# Dead keys
#

map -altgr -shift 0x1A ~ 0xFE50 # Dead grave
map -altgr -shift 0x28 ~ 0xFE51 # Dead acute
map -altgr +shift 0x1A ~ 0xFE52 # Dead circumflex
map +altgr -shift 0x05 ~ 0xFE53 # Dead tilde
map -altgr +shift 0x28 ~ 0xFE57 # Dead diaeresis (umlaut)