The macro "FastBreak" for "Palia" can be downloaded and used on simple mouse and keyboard. Installing the macro is in the Keyran program and increases your skill level in Palia, if you follow the instructions!
This macro allows you to mine ore automatically, interrupting the animation. It only works when hitting a stone and while the key is clamped. It is not suitable for mining wood, but eliminates the need to manually wait for the animation to end.