cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

base.keymap (2737B)


      1#
      2# Licensed to the Apache Software Foundation (ASF) under one
      3# or more contributor license agreements.  See the NOTICE file
      4# distributed with this work for additional information
      5# regarding copyright ownership.  The ASF licenses this file
      6# to you under the Apache License, Version 2.0 (the
      7# "License"); you may not use this file except in compliance
      8# with the License.  You may obtain a copy of the License at
      9#
     10#   http://www.apache.org/licenses/LICENSE-2.0
     11#
     12# Unless required by applicable law or agreed to in writing,
     13# software distributed under the License is distributed on an
     14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     15# KIND, either express or implied.  See the License for the
     16# specific language governing permissions and limitations
     17# under the License.
     18#
     19
     20name "base"
     21
     22# Typeable characters
     23map 0x39 ~ " "    # Space
     24map 0x0F ~ 0xff09 # Tab
     25
     26# Control characters
     27map      0x0E ~ 0xff08 # BackSpace
     28map      0x1C ~ 0xff0d # Return
     29map      0x01 ~ 0xff1b # Escape
     30map +ext 0x52 ~ 0xff63 # Insert
     31map +ext 0x53 ~ 0xffff # Delete
     32map +ext 0x47 ~ 0xff50 # Home
     33map +ext 0x4F ~ 0xff57 # End
     34map +ext 0x4B ~ 0xff51 # Left
     35map +ext 0x48 ~ 0xff52 # Up
     36map +ext 0x4D ~ 0xff53 # Right
     37map +ext 0x50 ~ 0xff54 # Down
     38map +ext 0x49 ~ 0xff55 # Page_Up
     39map +ext 0x51 ~ 0xff56 # Page_Down
     40map +ext 0x37 ~ 0xff61 # Print Screen
     41
     42# Locks
     43map      0x45 ~ 0xff7f # Num_Lock
     44map      0x46 ~ 0xff14 # Scroll_Lock
     45map      0x3A ~ 0xffe5 # Caps_Lock
     46
     47# Keypad numerals
     48map -shift +num 0x52 ~ 0xffb0 # KP_0
     49map -shift +num 0x4F ~ 0xffb1 # KP_1
     50map -shift +num 0x50 ~ 0xffb2 # KP_2
     51map -shift +num 0x51 ~ 0xffb3 # KP_3
     52map -shift +num 0x4B ~ 0xffb4 # KP_4
     53map -shift +num 0x4C ~ 0xffb5 # KP_5
     54map -shift +num 0x4D ~ 0xffb6 # KP_6
     55map -shift +num 0x47 ~ 0xffb7 # KP_7
     56map -shift +num 0x48 ~ 0xffb8 # KP_8
     57map -shift +num 0x49 ~ 0xffb9 # KP_9
     58
     59# Keypad operators
     60map      0x37 ~ 0xffaa # KP_multiply
     61map      0x4e ~ 0xffab # KP_add
     62map      0x4a ~ 0xffad # KP_subtract
     63map      0x53 ~ 0xffae # KP_decimal
     64map +ext 0x35 ~ 0xffaf # KP_divide
     65
     66# F keys
     67map 0x3B ~ 0xffbe # F1
     68map 0x3C ~ 0xffbf # F2
     69map 0x3D ~ 0xffc0 # F3
     70map 0x3E ~ 0xffc1 # F4
     71map 0x3F ~ 0xffc2 # F5
     72map 0x40 ~ 0xffc3 # F6
     73map 0x41 ~ 0xffc4 # F7
     74map 0x42 ~ 0xffc5 # F8
     75map 0x43 ~ 0xffc6 # F9
     76map 0x44 ~ 0xffc7 # F10
     77map 0x57 ~ 0xffc8 # F11
     78map 0x58 ~ 0xffc9 # F12
     79
     80# Modifiers
     81map      0x2A ~ 0xffe1 # Shift_L
     82map      0x36 ~ 0xffe2 # Shift_R
     83map      0x1D ~ 0xffe3 # Control_L
     84map +ext 0x1D ~ 0xffe4 # Control_R
     85map      0x38 ~ 0xffe9 # Alt_L
     86map +ext 0x38 ~ 0xffea # Alt_R
     87map +ext 0x38 ~ 0xfe03 # AltGr
     88map +ext 0x5B ~ 0xffe7 # Meta_L
     89map +ext 0x5C ~ 0xffe8 # Meta_R
     90map +ext 0x5B ~ 0xffeb # Super_L
     91map +ext 0x5C ~ 0xffec # Super_R
     92map +ext 0x5D ~ 0xff67 # Menu
     93