Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

how to catch button6 & 7 on mouse ? #329

Closed
zhfish opened this issue Jan 8, 2015 · 14 comments
Closed

how to catch button6 & 7 on mouse ? #329

zhfish opened this issue Jan 8, 2015 · 14 comments

Comments

@zhfish
Copy link

zhfish commented Jan 8, 2015

my mouse is m545 ( http://www.logitech.com/product/wireless-mouse-m545 )
it can set button4 & 5 all right
but it can't catch button 6&7 in event view

@tekezo
Copy link
Member

tekezo commented Jan 9, 2015

It seems to have 5 buttons.
Where's the location of the button 6 and 7?
Is it Tilt wheel?

@zhfish
Copy link
Author

zhfish commented Jan 12, 2015

Tilt wheel is button 4&5
button 6&7 is mouse left side buttons

@tekezo
Copy link
Member

tekezo commented Jan 12, 2015

Tilt wheel will be interpreted as scroll wheel in OS X.
Do you want to use tilt wheel as other function?

@zhfish
Copy link
Author

zhfish commented Jan 13, 2015

button 6&7 is mouse left side buttons ...
no Tilt wheel

Tilt wheel 's setting is well in OSX

@tekezo
Copy link
Member

tekezo commented Jan 13, 2015

If you cannot catch these button events, Logitech Control Center might change these buttons.
Please confirm Logitech Control Center preferences or uninstall it by LCC Uninstaller.

@zhfish
Copy link
Author

zhfish commented Jan 13, 2015

e.. i don't install Logitech Control Center For Mac never.

in windows ,Logitech Control Center can catch these events

@tekezo
Copy link
Member

tekezo commented Jan 13, 2015

Hmm, did you already change buttons via Karabiner?
Could you show me your enabled settings?
(screen shot of Karabiner Preferences with "show enabled only" checkbox.)

@zhfish
Copy link
Author

zhfish commented Jan 14, 2015

yeah, Karabiner is nice, i use button4 & 5 (tilt wheel) via Karabiner
qq20150114-1

@tekezo
Copy link
Member

tekezo commented Jan 14, 2015

Hmm, if so, Karabiner might not support button 6 and button 7.
Please confirm USB Overdrive.
www.usboverdrive.com/

@zhsso
Copy link

zhsso commented Mar 19, 2015

I use m545 too
and I remap 6&7 to pageup and pagedown

 <item>
      <name>Mouse Side to Page Up and Down</name>
      <identifier>private.mouse_side_to_page_up_down</identifier>
     <autogen>
       __SimultaneousKeyPresses__ KeyCode::COMMAND_L, KeyCode::D, KeyCode::PAGEDOWN,
    </autogen>
    <autogen>
        __KeyToKey__ KeyCode::COMMAND_L, KeyCode::PAGEUP,
    </autogen>
 </item>

karabiner is an awesome tool!

@giaosudau
Copy link

@zhsso It works but when I press Command L it's page up too.
How to fix that?

@tekezo
Copy link
Member

tekezo commented Aug 26, 2015

@giaosudau
Copy link

@tekezo Thanks It works 👍

Here is my settings for M545.
PageUP and PageDown
Back and Forward.

<?xml version="1.0"?>
<root>
    <item>
        <name>Logitech M545 Mouse</name>

        <devicevendordef>
            <vendorname>LOGITECH</vendorname>
            <vendorid>0x046d</vendorid>
        </devicevendordef>
        <deviceproductdef>
            <productname>USB_Receiver</productname>
            <productid>0xc52b</productid>
        </deviceproductdef>
        <item>
            <name>Mouse Side to Page Up and Down</name>
            <identifier>private.mouse_side_to_page_up_down</identifier>
            <device_only>DeviceVendor::LOGITECH, DeviceProduct::USB_Receiver</device_only>
            <autogen>
                __SimultaneousKeyPresses__ KeyCode::COMMAND_L, KeyCode::D,
                KeyCode::PAGEDOWN
            </autogen>
            <autogen>
                __KeyToKey__ KeyCode::COMMAND_L,
                KeyCode::PAGEUP
            </autogen>
        </item>
        <item>
            <name>Mouse Back and Forward</name>
            <identifier>private.mouse_back_forward</identifier>
            <device_only>DeviceVendor::LOGITECH, DeviceProduct::USB_Receiver</device_only>
            <autogen>
                __SimultaneousKeyPresses__ KeyCode::COMMAND_L, KeyCode::BRACKET_RIGHT,
                KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L
            </autogen>
            <autogen>
                __SimultaneousKeyPresses__ KeyCode::COMMAND_L, KeyCode::BRACKET_LEFT,
                KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L
            </autogen>
        </item>
    </item>

</root>

@zhfish
Copy link
Author

zhfish commented Aug 27, 2015

It works, thanks

@zhfish zhfish closed this as completed Aug 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants