profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/winkelsdorf/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Frederik Winkelsdorf winkelsdorf Hamburg, Germany winkelsdorf.de

MHumm/DelphiEncryptionCompendium 121

Cryptographic library for Embarcadero Delphi and potentially for FPC as well

phrase/ios-sdk 11

Phrase Over the Air iOS SDK

winkelsdorf/magento-autocomplete 6

Super fast autocomplete for Magento

nholloh/Simplog 1

A simplistic, yet extensible iOS logging framework.

winkelsdorf/CwlPreconditionTesting 1

A Mach exception handler that allows Swift precondition failures to be caught and tested.

winkelsdorf/gbkui-button-progress-view 1

Inspired by Apple’s download progress buttons in the app store

winkelsdorf/github-label-test 1

Testing node CLI Import & Export of GitHub Labels

winkelsdorf/MouseEnhancer 1

macOS Daemon to Map Side Buttons 4 & 5 to Volume Increment / Decrement Media Keys (esp. for Logitech Anywhere MX)

winkelsdorf/homebrew-custom 0

Alternate Cask Taps

winkelsdorf/iostabbarbugdemo 0

Demo Showing Bug with translucency in UITabBar and iOS 8.0 to 8.2

issue commentphrase/ios-sdk

Provide DSYM files for xcframework

Hi @angelolloqui,

sorry to hear that you have troubles identifying your issue because of that. Sure, we're going to provide them with the next release. We need to separate them from the .xcframework due to a compiler/linker issue we ran into (affecting older Xcode which are still in our support matrix), but providing them for manual upload is a very good suggestion!

Best regards Frederik

angelolloqui

comment created time in 7 days

startedWeblateOrg/weblate

started time in 7 days

startedtranslate/pootle

started time in 7 days

startedsteventroughtonsmith/catalyst-xctemplates

started time in 10 days

startedmarzzzello/pytr

started time in 13 days

startedKennethTsang/GrowingTextView

started time in 20 days

startedCombineCommunity/RxCombine

started time in 25 days

startedDoccZz/docc2html

started time in 25 days

startedCombineCommunity/rxswift-to-combine-cheatsheet

started time in a month

startednerdsupremacist/Mealy

started time in a month

startedwwt/SwiftCurrent

started time in a month

issue commentpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

Sounds reasonable, I'll give it a try. I am just wondering if that doesn't depend on the device itself reporting to use a Usage Page of 0x01.

hidutil list gives me the following for the Logitech Anywhere MX 3:

Devices:
VendorID ProductID LocationID UsagePage Usage RegistryID  Transport            Class                      Product                            UserClass Built-In 
0x46d    0xb025    0xaa3c803e 1         2     0x10000341a Bluetooth Low Energy IOHIDResource              MX Anywhere 3                      (null)    (null)  
winkelsdorf

comment created time in a month

issue commentpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

@MuhammedZakir I think Button Page 0x09 is for Buttons of Game Controllers and others. Mouse should be 0x01.

winkelsdorf

comment created time in a month

issue commentpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

Excellent find @MuhammedZakir, many thanks!

I was off by << 32, so the codes are:

0x0C000000EA // Volume decrement
0x0C000000E9 // Volume Increment

Which fits https://developer.apple.com/documentation/iokit/1592162-anonymous/khidusage_csmr_volumedecrement, and https://developer.apple.com/documentation/iokit/1592162-anonymous/khidusage_csmr_volumeincrement.

But this still leaves the problem: A mouse sidebutton has no standard code. Should be UsagePage 1 as reported by hidutil, but the event is CGEventMask(1 << CGEventType.otherMouseDown.rawValue) with a sent event.getIntegerValueField(.mouseEventButtonNumber) for the buttons 3 and 4. The latter defined as case mouseEventButtonNumber = 3 as UInt32.

Even if I can reach otherMouseDown which is defined by Apple as case otherMouseDown = 25 as UInt32, there seems to be no way to map the payload of the pressed button nummer to hidutil. At least as far as I can see.

It might be 1 << 32 | 0x19 (for dec 25) but still lacks mouseEventButtonNumber (0x03) and the button number itself (0x03 and 0x04). Need to investigate if that's possible to address directly.

winkelsdorf

comment created time in a month

issue commentpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

@MuhammedZakir Thanks for the suggestion! In the meantime I wrote my own daemon: https://github.com/winkelsdorf/MouseEnhancer/blob/main/MouseEnhancer/main.swift.

winkelsdorf

comment created time in a month

push eventwinkelsdorf/MouseEnhancer

Frederik Winkelsdorf

commit sha 14946ce0557c35206c19e474e2cd49e9fd853b62

Add project

view details

Frederik Winkelsdorf

commit sha 08751491a5c4a9380ac372bb0a93ebc39530f757

Add Daemon and install/uninstall script

view details

push time in a month

push eventwinkelsdorf/MouseEnhancer

Frederik Winkelsdorf

commit sha 0538f4b9e359a4e320eb1545a82e17ad2888703a

Initial Commit

view details

Frederik Winkelsdorf

commit sha b658544320dab19c43fd375c0a8888d4429aa549

Add .gitignore

view details

push time in a month

created repositorywinkelsdorf/MouseEnhancer

macOS Daemon to Map Side Buttons 4 & 5 to Volume Increment / Decrement Media Keys (esp. for Logitech Anywhere MX)

created time in a month

create barnchwinkelsdorf/MouseEnhancer

branch : main

created branch time in a month

startedtjluoma/launchd-keepalive

started time in a month

issue closedpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

Hello,

I have a simple modification mapping and want to use this without Karabiner (as it's so simple). Is anybody aware of the raw values for hidutil?

image

See my post at AskDifferent here: https://apple.stackexchange.com/questions/425911/map-mouse-buttons-using-hidutil-how-to-find-keycodes?noredirect=1#comment605229_425911.

I identified the correct device:

hidutil list --matching '{"ProductID":0xb025,"VendorID":0x46d}'

My idea was to map using hidutil e.g. using https://hidutil-generator.netlify.app.

I am seeking for the correct key codes for HIDKeyboardModifierMappingSrc for Button 4 and 5 to Volume Inc/Dec for days, is anybody aware of them?

Is there a way to export them from Karabiner-Elements?

Edit: Volume Increment and Decrement apparently are 0xC000000EA and 0xC000000E9. Now searching for the scan code of Button 4 and 5.

closed time in a month

winkelsdorf

issue commentpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

Closing this for now, seems like it's not worth the work to reinvent the wheel Karabiner provides

winkelsdorf

comment created time in a month

startedcreasty/Keyboard

started time in a month

issue commentpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

@MuhammedZakir Thank you very much! Yes, the codes seem to be correct but I'm likely wrong about mapping Mouse Button Events - those are not sent the same way as Keyboard Events are. Looks like I need to write a small utility using CGEvent.tapCreate. I'll keep this thread updated.

winkelsdorf

comment created time in a month

startednode-hid/node-hid

started time in a month

issue openedpqrs-org/Karabiner-Elements

Export of Mouse Button Raw Value Mapping for hidutil?

Hello,

I have a simple modification mapping and want to use this without Karabiner (as it's so simple). Is anybody aware of the raw values for hidutil?

image

See my post at AskDifferent here: https://apple.stackexchange.com/questions/425911/map-mouse-buttons-using-hidutil-how-to-find-keycodes?noredirect=1#comment605229_425911.

I identified the correct device:

hidutil list --matching '{"ProductID":0xb025,"VendorID":0x46d}'

My idea was to map using hidutil e.g. using https://hidutil-generator.netlify.app.

I am seeking for the correct key codes for HIDKeyboardModifierMappingSrc for Button 4 and 5 to Volume Inc/Dec for days, is anybody aware of them?

Is there a way to export them from Karabiner-Elements?

created time in a month

startedtanin47/noo

started time in a month

startedtodbot/hidapitester

started time in a month

startedamarsyla/hidutil-key-remapping-generator

started time in a month

startedrxhanson/Rectangle

started time in a month