mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1165] [Feature Request] Support for some multimedia keys (Calculator & Browser keys) #936
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#936
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @diegovgsilva95 on GitHub (May 17, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1165
My setup consists on two laptops, both running Arch Linux. My keyboard (C3Tech K-W40BK) has support for 10 multimedia keys. Everything works, except for calculator key and browser key.
For example, the log contains the following when I press Calculator key while controlling the other laptop:
Analysing the source code, the keycode 148 (keysym
0x1008ff1d, named asXF86Calculatorbyxev) would map tos_map1008FF[0x1D]and the keycode 152 (keysym0x1008ff5d, named asXF86Explorerbyxev) would map tos_map1008FF[0x5D].The forementioned array does not contain the correct mapping, as these positions are zeroed.
fc045fc793/src/lib/platform/XWindowsUtil.cpp (L1257)should be something like:/* 0x18 */ kKeyWWWHome, kKeyAppMail, 0, kKeyWWWSearch, 0, kKeyAppCalculator, 0, 0,fc045fc793/src/lib/platform/XWindowsUtil.cpp (L1265)as well should be:/* 0x58 */ 0, 0, 0, 0, 0, kKeyAppBrowser, 0, 0,If it's possible and, of course, compatible between all the supported OSes, could it be implemented?
Thanks in advance!