Nightsword rgb sniper button

is there a way to set the sniper button to use macros instead of dpi without using corsair icue