Disable scrolling on my Logitech optical mouse.

218 views
Skip to first unread message

john.kipl...@gmail.com

unread,
May 26, 2015, 1:35:36 PM5/26/15
to osx-ka...@googlegroups.com
My logitech optical mouse is currently sending spurious scroll commands from the mouse wheel, causing me to jump to the top of pages randomly. I've confirmed this is the problem with the event viewer.

What is the proper syntax for disabling the scroll wheel on a logitech mouse within the XML file? I already am disabling the slash key, which inexplicably is repeating so it currently looks like this:

<?xml version="1.0"?>
<root>
  <devicevendordef>
    <vendorname>APPLE</vendorname>
    <vendorid>0x05ac</vendorid>
  </devicevendordef>

  <deviceproductdef>
    <productname>APPLEKEYBOARD</productname>
    <productid>0x0245</productid>
  </deviceproductdef>

  <item>
    <name>Slash on Internal Keyboard</name>
    <identifier>private.deviceproductdef</identifier>
    <device_only>DeviceVendor::APPLE, DeviceProduct::APPLEKEYBOARD</device_only>
    <autogen>__KeyToKey__ KeyCode::SLASH, KeyCode::VK_NONE</autogen>
    <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::VK_NONE</autogen>
    <autogen>__KeyToKey__ KeyCode::DELETE, KeyCode::VK_NONE</autogen>
  </item>

  <item>
    <name>Disable keypad Slash</name>
    <identifier>private.swap_space_and_tab</identifier>
    <autogen>__KeyToKey__ KeyCode::KEYPAD_SLASH, KeyCode::VK_NONE</autogen>
  </item>
</root>


The information on the mouse is as follower:

Pointing
    USB Optical Mouse (Logitech)

    DeviceVendor::RawValue::0x046d,
    DeviceProduct::RawValue::0xc05a,

    DeviceLocation::RawValue::0xfd130000,

Takayama Fumihiko

unread,
May 27, 2015, 1:16:14 PM5/27/15
to john.kipl...@gmail.com, osx-ka...@googlegroups.com
Put this <item> into your private.xml:

<item>
<name>Disable scroll wheel on a Logitech mouse</name>
<identifier>private.disable_scroll_wheel</identifier>
<device_only>
DeviceVendor::RawValue::0x046d,
DeviceProduct::RawValue::0xc05a,
</device_only>
<autogen>__DropScrollWheel__</autogen>
</item>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/336dc709-baf5-403f-9237-45c66dcd580a%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/336dc709-baf5-403f-9237-45c66dcd580a%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
Takayama Fumihiko <tek...@pqrs.org>

John Lewis

unread,
May 27, 2015, 2:48:22 PM5/27/15
to osx-ka...@googlegroups.com, john.kipl...@gmail.com
Thank you sir!  I'll try that tonight and reload the XML within Karabiner.

John Lewis

unread,
May 27, 2015, 9:32:11 PM5/27/15
to osx-ka...@googlegroups.com
I tried this and it did not work. :-(

<?xml version="1.0"?>
<root>
  <devicevendordef>
    <vendorname>APPLE</vendorname>
    <vendorid>0x05ac</vendorid>
  </devicevendordef>

  <deviceproductdef>
    <productname>APPLEKEYBOARD</productname>
    <productid>0x0245</productid>
  </deviceproductdef>

  <item>
    <name>Slash on Internal Keyboard</name>
    <identifier>private.deviceproductdef</identifier>
    <device_only>DeviceVendor::APPLE, DeviceProduct::APPLEKEYBOARD</device_only>
    <autogen>__KeyToKey__ KeyCode::SLASH, KeyCode::VK_NONE</autogen>
    <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::VK_NONE</autogen>
    <autogen>__KeyToKey__ KeyCode::DELETE, KeyCode::VK_NONE</autogen>
  </item>

  <item>
    <name>Disable keypad Slash</name>
    <identifier>private.swap_space_and_tab</identifier>
    <autogen>__KeyToKey__ KeyCode::KEYPAD_SLASH, KeyCode::VK_NONE</autogen>
  </item>

 <item>
    <name>Disable scroll wheel on a Logitech mouse</name>
    <identifier>private.disable_scroll_wheel</identifier>
    <device_only>
      DeviceVendor::RawValue::0x046d,
      DeviceProduct::RawValue::0xc05a,
    </device_only>
    <autogen>__DropScrollWheel__</autogen>
  </item>



</root>



Takayama Fumihiko

unread,
May 27, 2015, 10:56:46 PM5/27/15
to john.kipl...@gmail.com, osx-ka...@googlegroups.com
> it did not work.
How did not work?

Does the setting not stop scroll wheel events?
Or the physical scroll wheel stops but your jump issue still happen?
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer>.

John Lewis

unread,
May 28, 2015, 12:10:15 AM5/28/15
to osx-ka...@googlegroups.com, john.kipl...@gmail.com

The event continues to register on EventViewer and in applications. Also normal scrolling events show up in the Event Viewer as well.

Image below:

Takayama Fumihiko

unread,
May 28, 2015, 1:33:08 AM5/28/15
to john.kipl...@gmail.com, osx-ka...@googlegroups.com
I see.

Does removing <device_only> make change?

<item>
<name>Disable scroll wheel on a Logitech mouse</name>
<identifier>private.disable_scroll_wheel</identifier>
<autogen>__DropScrollWheel__</autogen>
</item>


On 5/28/15 1:10 PM, John Lewis wrote:
>
> The event continues to register on EventViewer and in applications. Also
> normal scrolling events show up in the Event Viewer as well.
>
> Image below:
>
> <https://lh3.googleusercontent.com/-0RLMwXb7tDk/VWaVF41LADI/AAAAAAAAOAQ/cvUq7CwiqLo/s1600/Screen%2BShot%2B2015-05-27%2Bat%2B10.08.52%2BPM%2B%2BMay%2B27%2B.png>
> > an email to osx-karabine...@googlegroups.com <javascript:>
> > <mailto:osx-karabine...@googlegroups.com <javascript:>>.
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/optout>.
>
> --
> Takayama Fumihiko <tek...@pqrs.org <javascript:>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com?utm_medium=email&utm_source=footer>.

John Lewis

unread,
May 28, 2015, 11:39:45 AM5/28/15
to osx-ka...@googlegroups.com, john.kipl...@gmail.com
No, it did not change. I still get the spurious scrolling show above.

    <autogen>__DropScrollWheel__</autogen>
  </item>



</root>

>      > <mailto:osx-karabiner+unsub...@googlegroups.com <javascript:>>.
>      > To view this discussion on the web visit
>      >
>     https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com>
>
>      >
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>      > For more options, visit https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>.
>
>     --
>     Takayama Fumihiko <tek...@pqrs.org <javascript:>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com

Takayama Fumihiko

unread,
May 28, 2015, 10:38:55 PM5/28/15
to john.kipl...@gmail.com, osx-ka...@googlegroups.com
I guess that your pointing device are ignored in Karabiner.

Did not you enable "Generic > Don't remap any pointing device" or
similar settings or you use SmoothMouse together?
> > > <mailto:osx-karabine...@googlegroups.com
> <javascript:> <javascript:>>.
> > > To view this discussion on the web visit
> > >
> >
> https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com>>
>
> >
> > >
> >
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer>
>
> >
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer>>>.
>
> >
> > > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>
> > <https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>>.
> >
> > --
> > Takayama Fumihiko <tek...@pqrs.org <javascript:>>
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Karabiner" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to osx-karabine...@googlegroups.com <javascript:>
> > <mailto:osx-karabine...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Takayama Fumihiko <tek...@pqrs.org <javascript:>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/50e7cac9-d3a3-41fd-ad97-4face2dd6524%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/50e7cac9-d3a3-41fd-ad97-4face2dd6524%40googlegroups.com?utm_medium=email&utm_source=footer>.

John Lewis

unread,
May 28, 2015, 11:23:52 PM5/28/15
to osx-ka...@googlegroups.com, john.kipl...@gmail.com
And now it's working. No idea why it changed or what happened.

Thanks!
>      >      > <mailto:osx-karabiner+unsub...@googlegroups.com
>     <javascript:> <javascript:>>.
>      >      > To view this discussion on the web visit
>      >      >
>      >
>     https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com>
>
>      >
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com>>
>
>      >
>      >      >
>      >
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer>
>
>      >
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer
>     <https://groups.google.com/d/msgid/osx-karabiner/6b656179-3f09-46af-a39b-9cfd8e3c9d07%40googlegroups.com?utm_medium=email&utm_source=footer>>>.
>
>      >
>      >      > For more options, visit https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>
>      >     <https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>>.
>      >
>      >     --
>      >     Takayama Fumihiko <tek...@pqrs.org <javascript:>>
>      >
>      > --
>      > You received this message because you are subscribed to the Google
>      > Groups "Karabiner" group.
>      > To unsubscribe from this group and stop receiving emails from it,
>     send
>      > an email to osx-karabine...@googlegroups.com <javascript:>
>      > <mailto:osx-karabiner+unsub...@googlegroups.com <javascript:>>.
>      > To view this discussion on the web visit
>      >
>     https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com
>     <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com>
>
>      >
>     <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com?utm_medium=email&utm_source=footer
>     <https://groups.google.com/d/msgid/osx-karabiner/e0a6c1d4-838b-4ab8-9721-750103e53be7%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>      > For more options, visit https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>.
>
>     --
>     Takayama Fumihiko <tek...@pqrs.org <javascript:>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages