The macro "Auto-charging" for "DayZ" can be downloaded and used on simple mouse and keyboard.
Installing the macro is quick and easy in the Keyran program and increases your skill level in the game, if you follow the 
instructions!
  
                                A macro for automatic reloading of weapons in the DayZ game. Just assign the desired key, click on it, and you're done. The standard delay time for reloading is 40 seconds, which is optimal for a 60-round magazine. If you need to set this time, just double-click on the «Wait 40 seconds» line and set the required interval.
This macro works in a loop, meaning that after the recharge process is completed, it will start over. To interrupt the macro execution, you will need to configure it to be triggered by pressing or releasing a key (for more information, see the Keyran manual).
In addition, you can adapt the macro for the process of emptying the store by changing the R key to the left mouse button in the macro settings.