Files
SyncHome/trunk/workspace/BMC/Keyboard/Plus4/pao_pos_p4.vkm

146 lines
4.7 KiB
Plaintext
Raw Normal View History

2026-03-26 12:55:54 +00:00
# VICE keyboard mapping file for Plus/4
# Basato sul layer QMK ottimizzato per Plus/4 Case
# Formato: Keysym Row Col Shift
#
# File format:
# - comment lines start with '#'
# - keyword lines start with '!keyword'
# - normal line has 'keysym/scancode row column shiftflag'
#
# Keywords and their lines are:
# '!CLEAR' clear whole table
# '!INCLUDE filename' read file as mapping file
# '!LSHIFT row col' left shift keyboard row/column
# '!RSHIFT row col' right shift keyboard row/column
# '!VSHIFT shiftkey' virtual shift key (RSHIFT or LSHIFT)
# '!SHIFTL shiftkey' shift lock key (RSHIFT or LSHIFT)
# '!UNDEF keysym' remove keysym from table
#
# Shiftflag can have the values:
# 0 key is not shifted for this keysym/scancode
# 1 key is shifted for this keysym/scancode
# 2 left shift
# 4 right shift
# 8 key can be shifted or not with this keysym/scancode
# 16 deshift key for this keysym/scancode
# 32 another definition for this keysym/scancode follows
# 64 shift lock
# 256 key is used for an alternative keyboard mapping
#
# When a bigger spaced key is used,
# it uses the upper left most key value.
#
# Positional Mapping, US Layout, Plus/4, GTK
#
# Commodore 16/116/Plus-4 keyboard matrix:
#
# 0 1 2 3 4 5 6 7
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 0 |INST/DEL|RETURN |POUND |F7/HELP |F4/F1 |F5/F2 |F6/F3 |@ |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 1 |3 # |W |A |4 $ |Z |S |E | SHIFTs |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 2 |5 % |R |D |6 & |C |F |T |X |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 3 |7 ' |Y |G |8 ( |B |H |U |V |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 4 |9 ) |I |J |0 ^ |M |K |O |N |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 5 |DOWN |P |L |UP |. > |: [ |- |, < |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 6 |LEFT |* |; ] |RIGHT |ESC |= <- pi |+ |/ ? |
# +--------+--------+--------+--------+--------+--------+--------+--------+
# 7 |1 ! |CLR/HOME| CTRLs |2 " |SPACE |CBM |Q |RUN/STOP|
# +--------+--------+--------+--------+--------+--------+--------+--------+
#
# Plus4 keyboard layout:
#
# F1/4 F2/5 F3/6 Help/F7
#
# ESC 1! 2" 3# 4$ 5% 6& 7' 8( 9) 0^ + - =/pi clr del
# CTRL q w e r t y u i o p @ pound * ctrl
# r/s SL a s d f g h j k l :[ ;] return
# CBM LS z x c v b n m ,< .> /? RS up
# space left right
#
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 0 (Tasti Superiori / Speciali) ---
BackSpace 0 0 0 # Tasto INST/DEL
Return 0 1 0 # Tasto RETURN
backslash 0 2 0 # Mappato su £ (POUND) nel Plus/4
F7 0 3 0 # Tasto F4 fisico (F7 con shift)
F1 0 4 0
F2 0 5 0
F3 0 6 0
at 0 7 0 # Tasto @ (dedicato)
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 1 ---
3 1 0 0
w 1 1 0
a 1 2 0
4 1 3 0
z 1 4 0
s 1 5 0
e 1 6 0
Shift_L 1 7 0 # SHIFT
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 2 ---
5 2 0 0
r 2 1 0
d 2 2 0
6 2 3 0
c 2 4 0
f 2 5 0
t 2 6 0
x 2 7 0
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 3 ---
7 3 0 0
y 3 1 0
g 3 2 0
8 3 3 0
b 3 4 0
h 3 5 0
u 3 6 0
v 3 7 0
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 4 ---
9 4 0 0
i 4 1 0
j 4 2 0
0 4 3 0
m 4 4 0
k 4 5 0
o 4 6 0
n 4 7 0
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 5 (Frecce e Punteggiatura) ---
Down 5 0 0
p 5 1 0
l 5 2 0
Up 5 3 0
period 5 4 0
colon 5 5 0
minus 5 6 0
comma 5 7 0
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 6 (Frecce e Simboli) ---
Left 6 0 0
asterisk 6 1 0
semicolon 6 2 0
Right 6 3 0
Escape 6 4 0
equal 6 5 0
plus 6 6 0
slash 6 7 0
2026-03-25 08:54:25 +00:00
2026-03-26 12:55:54 +00:00
# --- Riga 7 (Base e Controllo) ---
1 7 0 0
Home 7 1 0 # Tasto CLR/HOME
Tab 7 2 0 # Tasto CTRL
2 7 3 0
space 7 4 0
Control_L 7 5 0 # Tasto COMMODORE (CBM)
q 7 6 0
Alt_L 7 7 0 # Mappato su RUN/STOP (Posizione fisica Alt)