Giter VIP home page Giter VIP logo

Comments (1)

tekezo avatar tekezo commented on June 16, 2024

Hi,

Right Ctrl key plus Home key
It's a correct XML.
However, KeyToConsumer may not work in OSx86 with some drivers.
I think that's why.

Map F13 (aka Print Screen) to Fn and then use Fn+F11&12 for volume control
The correct XML is follows.

But by the above cause, it does not work probably.

F13 to Fn remap.f13tofn --KeyToKey-- KeyCode::F13, KeyCode::FN
Fn+F11 to Volume Down remap.F13F11_to_volumedown --KeyToConsumer-- KeyCode::F11, ModifierFlag::FN, ConsumerKeyCode::VOLUME_DOWN

You should change these keys to F19 or others and
change F19 to Volume control by Spark or Quicksilver.
Spark: http://www.shadowlab.org/Software/spark.php

Quicksilver: http://qsapp.com/

Ctrl + Home to F19 remap.CTRLHome_to_volumeup --KeyToKey-- KeyCode::HOME, ModifierFlag::CONTROL_R, KeyCode::F19

Takayama Fumihiko [email protected]

On 11/07/18 2:24, bryankennedy wrote:

Has anyone been able to map custom key combinations to VolumeUp or Down?

I have a Dell PC keyboard hooked up to my laptop and I want to be able to use some key combination to change the volume. I've tried the rules below but nothing seems to work:

Right Ctrl key plus Home key

   <name>Ctrl + Home to Volume Up</name>
   <identifier>remap.CTRLHome_to_volumeup</identifier>
   <autogen>--KeyToConsumer-- KeyCode::HOME, ModifierFlag::CONTROL_R, ConsumerKeyCode::VOLUME_UP</autogen>
</item>

Map F13 (aka Print Screen) to Fn and then use Fn+F11&12 for volume control

   <name>Fn to F13</name>
   <identifier>remap.fn2f13</identifier>
   <autogen>--KeyToKey-- KeyCode::FN, KeyCode::F13</autogen>
</item>
<item>
   <name>F13+F11 to Volume Down</name>
   <identifier>remap.F13F11_to_volumedown</identifier>
   <autogen>--KeyToConsumer-- KeyCode::F11, ModifierFlag::F13, ConsumerKeyCode::VOLUME_DOWN</autogen>
</item>

I recognize that I'm missing something basic here about how the Volume mapping might work. Thanks for any advice.

from karabiner-archived.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.