arcticnoah / aseprite-brush-size-hotkey

A very simple AutoHotKey (AHK) script that tries to replicate the behaviour of WispY's AseBrush Java applet, as shown in AdamCYounis' awesome Aseprite Crash Course video!
MIT License
28 stars 1 forks source link

doesn't work with XP-Pen #1

Open imgalone opened 3 years ago

imgalone commented 3 years ago

Hello,

I downloaded both versions of the executables and ran them, then ran aseprite and when I press d sometimes the brush size is increased by one pixel, but not always and not by me dragging my pen on the tablet. When I do try to hold d and drag the pen on the X axis, nothing happens.

Best regards, Iancu

imgalone commented 3 years ago

From what I see in the video comments, this might be because I have an X-Pen tablet. The script does work when I drag the mouse, so I am probably in the same boat as the commenter there:

"i have an xp-pen 22e pro, but the script don't consider the pen a mouse. When i press D and drag the mouse work, but when i press D and drag the pen don't work"

arcticnoah commented 3 years ago

Hey Iancu,

Thanks for posting this issue! Sorry to hear about it not working with your pen tablet, it definitely seems to be some sort of conflict with that specific tablet manufacturer's driver that I'm not entirely sure how I'd go about fixing.

Some possible things you could try would be to see if changing the tablet API mode in Aseprite makes any difference, which you can read about here: https://www.aseprite.org/docs/tablet/

Another possible fix might be to apply the hotkey globally rather than specifically for Aseprite which would be annoying but you can always use the CTRL + ALT + D hotkey, or system tray icon to disable the d hotkey for when you're not using Aseprite.

Here's an executable with the change described above

AsepriteBrushSizeHotkey_GlobalVersion.zip

Please lemme know if either of these work, else I'm afraid I'm not really sure what else could help!

imgalone commented 3 years ago

Hi @arcticnoah ,

Thanks for your reply and suggestions. I tried everything you suggested but unfortunatelly it still doesn't work.

  1. Changed options in aseprite with normal script --> NOK, same result
  2. Changed script with the global key one --> NOK, same result
  3. Changed options in aseprite with global script --> NOK, same result

I can use it with the mouse though, which is still a faster option than moving and adjusting the size with my pen or using ctrl + mousewheel.

LoopDoop12 commented 1 year ago

Hello @imgalone I had the same problem as you Found a thread where someone said that changing the pen to mouse mode helped him. So i did that and now it works.

So i went to the main program of my drawing tablet, and found the mouse mode option there, to the pen section. Hope this will solve your problem too!

iancustoica commented 1 year ago

Hi @LoopDoop12 ,

This is imgalone - it works, thank you very much!