The only thing permitted by the ToS for the G15 is to map a key code to the G keys, giving you 56 extra keys

if you actually use the G15 macroing functionality you are potentially going to stray close to or over the line into illegal automation.