swhkd icon indicating copy to clipboard operation
swhkd copied to clipboard

MiDi Support?

Open actualdankcoder opened this issue 3 years ago • 4 comments

Version Information: latest

  • Distribution Information ( run uname -a ) 5.18.9-arch1-1
  • swhkd version ( swhkd -V ) latest

Will swhkd add support for MiDi input? I often use a midi controller for launching scripts/desktop apps so it would be great if swhkd could support it

actualdankcoder avatar Jul 22 '22 06:07 actualdankcoder

I think this is a reasonable request. I don't have a midi device on me at the moment so I can't test any patches but I'll try to get something going.

Shinyzenith avatar Jul 22 '22 06:07 Shinyzenith

There are portmidi bindings for rust so i believe it could be achievable

actualdankcoder avatar Jul 22 '22 06:07 actualdankcoder

I personally think it'd be better to achieve this over evdev. Would you mind running libinput debug call and show me the key events of your midi device ?

Shinyzenith avatar Jul 22 '22 10:07 Shinyzenith

would you explain the process of how i am meant to do that

actualdankcoder avatar Jul 22 '22 12:07 actualdankcoder