安装 Logitech Options 后 MX 键的媒体键不起作用
Posted
技术标签:
【中文标题】安装 Logitech Options 后 MX 键的媒体键不起作用【英文标题】:Media Keys of MX Keys Not Working After Installing Logitech Options 【发布时间】:2021-12-08 13:14:09 【问题描述】:我最近购买了这款 MX Keys 和 MX Master 组合,很高兴能充分发挥键盘的潜力,但在安装 Logitech 选件软件后媒体键无法正常工作。
网上没有太多关于它的研究。所以,我有点 绝望的。有人建议更改选项的 .xml 文件 软件,但我不知道需要什么样的编辑。任何帮助 在这一点上是受欢迎的。我已经为任何人粘贴了下面的 .xml 代码 去看看。
<features>
<feature id="0x1000">
<params>
<param name="numberOfLevels" value="4" />
<param name="flags" value="4" />
<param name="nominalBatteryLife" value="49158" />
<param name="batteryCriticalLife" value="10" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1b04">
<params />
<controlids>
<controlid rawxy="0" rawwheel="0" id="0x000a" reprogrammable="true" type="hotkey" taskidlist="calculatorList">
<task minver="10" id="0x10045" class="virtualkeyex">
<params configure="0" ctrl="1" shift="0" vkey="37" win="1" prs="300" pss="30" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x006e" reprogrammable="true" type="fkey" fpos="5" taskidlist="showdesktopTaskidList">
<task id="0x0043" class="keystroke">
<params command="*d" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x006f" reprogrammable="true" type="hotkey" taskidlist="lockScreenTaskidList">
<task id="0x0044" class="powermanagement">
<params command="lockpc" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00bf" reprogrammable="true" type="hotkey" taskidlist="printscreenTaskidList">
<task divert="0" id="0x009b" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00c7" reprogrammable="true" type="fkey" fpos="1" taskidlist="brightnessDownTaskidlist">
<task id="0x10004" class="filelauncher">
<params configure="1" exe="C:\Windows\System32\Taskmgr.exe" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00c8" reprogrammable="true" type="fkey" fpos="2" taskidlist="brightnessUpTaskidlist">
<task id="0x10004" class="filelauncher">
<params configure="1" exe="C:\Program Files\WindowsApps\NVIDIACorp.NVIDIAControlPanel_8.1.961.0_x64__56jybvy8sckqj\nvcplui.exe" />
</task>
<remappableids />
<actions />
</controlid>
<controlid generic="1" rawxy="0" rawwheel="0" id="0x00d1" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid generic="1" rawxy="0" rawwheel="0" id="0x00d2" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid generic="1" rawxy="0" rawwheel="0" id="0x00d3" reprogrammable="false" type="hotkey">
<task duplicate="45" id="0x00b0" class="keystroke">
<params command7="*f" command8="*q" command10="*s" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e0" reprogrammable="true" type="fkey" fpos="3" taskidlist="taskviewTaskIdlist">
<task id="0x10009" class="filelauncher">
<params configure="1" exe="D:\GM\System Folders\Desktop" lookuppath="1" foldername="D:\GM\System Folders\Desktop" openfolder="1" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e1" reprogrammable="true" type="fkey" fpos="4" taskidlist="actionCenterTaskIdlist">
<task id="0x000a" class="filelauncher">
<params commandlineargs="" exe="calc.exe" lookuppath="1" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e2" reprogrammable="true" type="fkey" fpos="6" taskidlist="backlightdownTaskIdlist">
<task divert="0" id="0x00c1" class="virtualkey">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e3" reprogrammable="true" type="fkey" fpos="7" taskidlist="backlightupTaskIdlist">
<task divert="0" id="0x00c2" class="virtualkey">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e4" reprogrammable="true" type="fkey" fpos="8" taskidlist="previousTrackTaskIdlist">
<id="0x0006" class="media">
<params command="previous" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e5" reprogrammable="true" type="fkey" fpos="9" taskidlist="playpauseTrackTaskIdlist">
<id="0x0004" class="media">
<params command="play_pause" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e6" reprogrammable="true" type="fkey" fpos="10" taskidlist="nextTrackTaskIdlist">
<id="0x0005" class="media">
<params command="next" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e7" reprogrammable="true" type="fkey" fpos="11" taskidlist="muteTaskIdlist">
<task id="0x0003" class="volumecommand">
<params command="volmute" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e8" reprogrammable="true" type="fkey" fpos="12" taskidlist="volDownTaskIdlist">
<task id="0x0002" class="volumecommand">
<params command="voldown" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e9" reprogrammable="true" type="hotkey" taskidlist="volUpTaskIdlist">
<task id="0x0001" class="volumecommand">
<params command="volup" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00ea" reprogrammable="true" type="hotkey" taskidlist="appMenuTaskIdlist">
<task minver="10" id="0x10044" class="virtualkeyex">
<params configure="0" ctrl="1" shift="0" vkey="39" win="1" prs="300" pss="30" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00eb" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00ec" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
</controlids>
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1814">
<params>
<param name="nbHost" value="3" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1815">
<params>
<param name="nbHost" value="3" />
<param name="eQuadHDCapability" value="0" />
<param name="USBHDCapability" value="0" />
<param name="BTHDCapability" value="1" />
<param name="BLEHDCapability" value="0" />
<param name="GetNameCapability" value="1" />
<param name="SetNameCapability" value="1" />
<param name="MoveHostCapability" value="0" />
<param name="DeleteHostCapability" value="0" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1982">
<params>
<param name="enableBacklight" value="1" />
<param name="wow" value="1" />
<param name="powerSave" value="1" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x40a3">
<params>
<param name="fnInversionState" value="1" />
<param name="fnInversionDefaultState" value="1" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x4521">
<params>
<param name="winKey" value="0" />
<param name="insertKey" value="0" />
<param name="scrollLockKey" value="0" />
<param name="numLockKey" value="0" />
<param name="capsLockKey" value="0" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x4531">
<params>
<param name="nbHost" value="3" />
<param name="osDetectionCapability" value="1" />
<param name="setHostPlatformCapability" value="1" />
<param name="autoHostSwitch" value="1" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
</features>
【问题讨论】:
【参考方案1】:有一个简单的解决方法。只需将divert values
添加到您显示的代码中缺少的 .xml 文件即可。如果您仔细观察,与其他键相比,不工作的键缺少一个值,这就是为什么它没有按应有的方式工作。罗技现在应该已经修复了。
我拥有同一个键盘一年多了,这个问题与键盘本身一样古老。
你可以试试这个代码,让我知道它是否适合你。
<features>
<feature id="0x1000">
<params>
<param name="numberOfLevels" value="4" />
<param name="flags" value="4" />
<param name="nominalBatteryLife" value="49158" />
<param name="batteryCriticalLife" value="10" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1b04">
<params />
<controlids>
<controlid rawxy="0" rawwheel="0" id="0x000a" reprogrammable="true" type="hotkey" taskidlist="calculatorList">
<task minver="10" id="0x10045" class="virtualkeyex">
<params configure="0" ctrl="1" shift="0" vkey="37" win="1" prs="300" pss="30" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x006e" reprogrammable="true" type="fkey" fpos="5" taskidlist="showdesktopTaskidList">
<task id="0x0043" class="keystroke">
<params command="*d" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x006f" reprogrammable="true" type="hotkey" taskidlist="lockScreenTaskidList">
<task id="0x0044" class="powermanagement">
<params command="lockpc" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00bf" reprogrammable="true" type="hotkey" taskidlist="printscreenTaskidList">
<task divert="0" id="0x009b" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00c7" reprogrammable="true" type="fkey" fpos="1" taskidlist="brightnessDownTaskidlist">
<task id="0x10004" class="filelauncher">
<params configure="1" exe="C:\Windows\System32\Taskmgr.exe" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00c8" reprogrammable="true" type="fkey" fpos="2" taskidlist="brightnessUpTaskidlist">
<task id="0x10004" class="filelauncher">
<params configure="1" exe="C:\Program Files\WindowsApps\NVIDIACorp.NVIDIAControlPanel_8.1.961.0_x64__56jybvy8sckqj\nvcplui.exe" />
</task>
<remappableids />
<actions />
</controlid>
<controlid generic="1" rawxy="0" rawwheel="0" id="0x00d1" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid generic="1" rawxy="0" rawwheel="0" id="0x00d2" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid generic="1" rawxy="0" rawwheel="0" id="0x00d3" reprogrammable="false" type="hotkey">
<task duplicate="45" id="0x00b0" class="keystroke">
<params command7="*f" command8="*q" command10="*s" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e0" reprogrammable="true" type="fkey" fpos="3" taskidlist="taskviewTaskIdlist">
<task id="0x10009" class="filelauncher">
<params configure="1" exe="D:\GM\System Folders\Desktop" lookuppath="1" foldername="D:\GM\System Folders\Desktop" openfolder="1" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e1" reprogrammable="true" type="fkey" fpos="4" taskidlist="actionCenterTaskIdlist">
<task id="0x000a" class="filelauncher">
<params commandlineargs="" exe="calc.exe" lookuppath="1" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e2" reprogrammable="true" type="fkey" fpos="6" taskidlist="backlightdownTaskIdlist">
<task divert="0" id="0x00c1" class="virtualkey">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e3" reprogrammable="true" type="fkey" fpos="7" taskidlist="backlightupTaskIdlist">
<task divert="0" id="0x00c2" class="virtualkey">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e4" reprogrammable="true" type="fkey" fpos="8" taskidlist="previousTrackTaskIdlist">
<task divert="0" id="0x0006" class="media">
<params command="previous" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e5" reprogrammable="true" type="fkey" fpos="9" taskidlist="playpauseTrackTaskIdlist">
<task divert="0" id="0x0004" class="media">
<params command="play_pause" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e6" reprogrammable="true" type="fkey" fpos="10" taskidlist="nextTrackTaskIdlist">
<task divert="0" id="0x0005" class="media">
<params command="next" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e7" reprogrammable="true" type="fkey" fpos="11" taskidlist="muteTaskIdlist">
<task id="0x0003" class="volumecommand">
<params command="volmute" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e8" reprogrammable="true" type="fkey" fpos="12" taskidlist="volDownTaskIdlist">
<task id="0x0002" class="volumecommand">
<params command="voldown" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00e9" reprogrammable="true" type="hotkey" taskidlist="volUpTaskIdlist">
<task id="0x0001" class="volumecommand">
<params command="volup" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00ea" reprogrammable="true" type="hotkey" taskidlist="appMenuTaskIdlist">
<task minver="10" id="0x10044" class="virtualkeyex">
<params configure="0" ctrl="1" shift="0" vkey="39" win="1" prs="300" pss="30" />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00eb" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
<controlid rawxy="0" rawwheel="0" id="0x00ec" reprogrammable="false" type="hotkey">
<task id="0xffff" class="donothing">
<params />
</task>
<remappableids />
<actions />
</controlid>
</controlids>
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1814">
<params>
<param name="nbHost" value="3" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1815">
<params>
<param name="nbHost" value="3" />
<param name="eQuadHDCapability" value="0" />
<param name="USBHDCapability" value="0" />
<param name="BTHDCapability" value="1" />
<param name="BLEHDCapability" value="0" />
<param name="GetNameCapability" value="1" />
<param name="SetNameCapability" value="1" />
<param name="MoveHostCapability" value="0" />
<param name="DeleteHostCapability" value="0" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x1982">
<params>
<param name="enableBacklight" value="1" />
<param name="wow" value="1" />
<param name="powerSave" value="1" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x40a3">
<params>
<param name="fnInversionState" value="1" />
<param name="fnInversionDefaultState" value="1" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x4521">
<params>
<param name="winKey" value="0" />
<param name="insertKey" value="0" />
<param name="scrollLockKey" value="0" />
<param name="numLockKey" value="0" />
<param name="capsLockKey" value="0" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
<feature id="0x4531">
<params>
<param name="nbHost" value="3" />
<param name="osDetectionCapability" value="1" />
<param name="setHostPlatformCapability" value="1" />
<param name="autoHostSwitch" value="1" />
</params>
<controlids />
<fn_controlids />
<gestures />
<fn_gestures />
<events />
</feature>
请在编辑任何内容之前保存原始文件的副本!如果编辑后似乎没有任何变化,请重新启动。
【讨论】:
首先,感谢您如此迅速地回复。我现在正在检查代码,如果它按我想要的方式工作,我会告诉你。 我刚刚尝试了您发送的代码,但仍然无法正常工作。伙计,我很兴奋,因为你拥有相同的键盘。 @G.M.那应该行得通。检查编辑是否已保存。并重新启动你的电脑,然后告诉我。 编辑已保存。刚刚重新启动机器,现在,密钥正在工作。哇,简直不敢相信这很容易。感谢您的帮助。以上是关于安装 Logitech Options 后 MX 键的媒体键不起作用的主要内容,如果未能解决你的问题,请参考以下文章
sh logitech_trackball_xinput.sh
ini 我的Logitech Marblemouse的xorg配置(左撇子)