Altium viewer - disable number hotkeys

Suppress some number keys in online altium viewer, to prevent accidentally switching between e.g. schematic and PCB views.

ของเมื่อวันที่ 03-09-2024 ดู เวอร์ชันล่าสุด

ผู้เขียน
matthijskooijman
คะแนน
0 0 0
เวอร์ชัน
2024-09-03
สร้างเมื่อ
03-09-2024
อัปเดตเมื่อ
03-09-2024
Size
1.45 กิโลไบต์
สัญญาอนุญาต
The MIT license
ปรับใช้กับ

In the Altium online design viewer, the number keys can be used to switch between schematic, PCB and 3D views. When running Firefox on Gnome, switching between virtual desktops with super-1/2/3 seems to deliver the keyup event for that to the website, causing altium viewer to switch modes. This might be a gnome-shell bug, but this script eats up those keyup events to work around this.