Skip to content

Commit

Permalink
More radios from @philmoz
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower committed Feb 6, 2025
1 parent cab9f74 commit 71e4ffd
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions radio/util/hw_defs/hal_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,48 +58,44 @@

KEY_LABELS = [
{
"targets": {"bumblebee"},
"targets": {"boxer", "f16", "mt12", "gx12", "pocket", "tx12", "tx12mk2", "tx16s", "v16", "zorro"},
"keys": {
"MENU": { "label": "Menu" },
"EXIT": { "label": "RTN" },
"PAGEDN": { "label": "Page" }
"EXIT": { "label": "RTN" }
}
},
{
"targets": {"tlite", "tlitef4"},
"targets": {"bumblebee", "t12max", "t14", "t15", "t20", "t20v2", "tpro", "tpros", "tprov2"},
"keys": {
"EXIT": { "label": "RTN" },
"ENTER": { "label": "ENT" },
"LEFT": { "label": "MDL/Left" },
"RIGHT": { "label": "SYS/Right" }
"PAGEDN": { "label": "</>" },
}
},
{
"targets": {"tpro", "tpros", "tprov2"},
"targets": {"x7", "x7access", "x9e"},
"keys": {
"MENU": { "label": "MDL" },
"PAGEDN": { "label": "Page" }
"PAGEDN": { "label": "PAGE" },
}
},
{
"targets": {"tx16s"},
"targets": {"t16", "t18"},
"keys": {
"EXIT": { "label": "RTN" }
"EXIT": { "label": "RTN" },
"PAGEDN": {"label": "PAGE" },
}
},
{
"targets": {"x9d+", "x9d+2019"},
"targets": {"x9d", "x9d+", "x9d+2019"},
"keys": {
"ENTER": { "label": "ENT" },
"PAGEDN": { "label": "PAGE" }
}
},
{
"targets": {"x9e"},
"targets": {"x10", "x10express"},
"keys": {
"PAGEDN": { "label": "PAGE" }
"EXIT": { "label": "RTN" },
"PAGEDN": { "label": "PgUp/Dn" }
}
}
},
]

class Key:
Expand Down

0 comments on commit 71e4ffd

Please sign in to comment.