Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been trying to remap my mouse wheel up and down actions to keyboard keys in a specific application. Does anyone know how?

I'm using a steelseries sensei, and the steelseries engine doesn't support it. It seems I need something more generic.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
  <appdef>
    <appname>TEXTEDIT</appname>
    <equal>com.apple.TextEdit</equal>
  </appdef>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <only>TEXTEDIT</only>
    <autogen>__ScrollWheelToKey__ ScrollWheel::UP, KeyCode::A, ModifierFlag::COMMAND_L</autogen>
  </item>
</root>

See the source for the key code values and predefined settings.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.