@davidrevoy cooool, j'avais pas vu passer cet article 🙂
Moi j'utilise les touches les plus à droite de mon mini clavier MIDI (bon du coup je les ai pas décorées vu que ça me sert aussi de vrai clavier de piano, mais bon), avec un script qui map le signal MIDI vers une combinaison de touches reconnue dans Inkscape (annuler, changer d'outil, etc.).
@davidrevoy are there any good starting tutorials you recommend on a Linux-based drawing software/hardware stack? My partner draws and has been looking for a while.
@phil Hey, check the video pinned on my profile, it's a project from A to Z detailed with Krita with a first part about the setup. For the hardware part, I document everything I can here: https://www.davidrevoy.com/index.php?tag/hardware
I wish good luck, patience (and a bit of necessary obstination) to make the switch! 🙂
@davidrevoy One thing you could do to turn this into something more like a MacroPad is to bind your NumPad keys to shortcuts in a script for an AutoHotKey port for GNU/Linux (for example, AHK_X11 ( https://github.com/phil294/AHK_X11 ) is what I used, and should work for any X11-based distro). The NumPad keys don't get registered by anything other than the AHK interpreter, so you don't have to worry about them accidentally triggering some other action they were bound to.
But I think I found the ultimate tool for macro: the one I tested this morning https://github.com/sezanzeb/input-remapper thanks to the comment of Moini (and added it to the article, you probably saw it). It's X11/Wayland compatible, has a GUI , presets and can also do complex macro (even mixing keyboard and mouse click, or macro with 'wait' between actions so I can do combo of shortcut keys.
@davidrevoy
Super interessant. Je n'ai pas de pavé numérique sous la main mais bien un MakeyMakey. Votre tuto me permettra d'aller plus loin que la fonctionnalité remap qui y est intégrée.
Merci :-)
@SigmaOne Oh 😮 If you have access to a 3D printer, you'll make wonders with it.
I just tested the setup with a https://www.8bitdo.com/zero2/ (it has a keyboard mode that evtest or input-remapper catches); because it is wireless and its size, it's a good mini remote command for shortcut. I think I'll paint mine this week-end. 😆
@davidrevoy This is great, nobody should have to buy Stream Decks and the like!
I got myself a FaunchPad and a Butter Stick from gboards.ca a while back for similar purposes, but they seem to be down. :/ They offered some affordable small keyboards runnig QMK!
@davidrevoy Nice, my coworkers are still amazed that I got my Wii UDraw tablet to work on the computer. Though that is more hardware hacks if anything.
@davidrevoy Nice. Thanks for the evdev writeup (and FWIW, the package name in Arch-alikes is 'evtest' instead of 'evdev'). I knew that kind of thing was possible, but had never put in the time to figuring it out.
And the paintjob is fun. I bet doing it that way actually helps burn the connection into your brain, too.
@screambiogenesis Thanks! And oh, I just had a check at my dnf history and the package is evtest too. That's a big typo, thanks for finding it, I'll fix now. 👍
@drazraeltod Update! I had this bluetooth gamepad at home (a cute mini 8BitDo Zero 2 https://www.8bitdo.com/zero2/) and if I put it in keyboard mode; evtest catches the events and gives the product/vendor info (not listed in lsusb).
I also got feedback about an utility 'input-remapper' that makes all of the setup easy with a GUI. So it should work with bluetooth keypad as well following the same method. I updated the article.
@davidrevoy Maybe try KMonad or Kanata. They provide a lot of the functionality of a QMK keyboard, e.g. different functions for tap/hold, tap-dancing, layers, mapping to key combinations, etc., with a much more readable configuration.
@davidrevoy that's a good one. Be sure to at least skim the documentation though. You might find features uniquely useful for your workflow that might not be as appealing to a programmer.
@AlexanderMars@Moini I just made a quick test and WOW. https://github.com/sezanzeb/input-remapper is amazing. The README has install method for Fedora and it was easy to install. It works really well and detect my Keyboard, my Xp-Pen buttons, button on my USB microphone! It really can input macros (multiple keys, composed shortcuts, and special keys) and you can have multiple presets for the same device. It cannot neutralize devices with hardcoded multiple keys (expected). I'll update the article with a note 😍
@davidrevoy@Moini I think every #krita#inkscape#gimp user would want to know about this. Just need a cheap numpad and you have a custom macro deck. Gotta star the hell out of that project!
Add comment