<font face="Arial, Verdana">No that wa snot what I meant with event system. See on github src/SampleEventSystems/Felix Pro 1</font>
In configuration.h or in online tool in manual commands you add
<font face="Arial, Verdana">#define CUSTOM_EVENTS</font>
<font face="Arial, Verdana">then it will read the files </font>
<font face="Arial, Verdana">CustomEvents.h</font>
<font face="Arial, Verdana">CustomEventsImpl.h</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">the first file would have your define modified liek</font>
<font face="Arial, Verdana">#define EVENT_SET_LASER(intensity) SetMyLaserIntensity(intensity);</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">in the latter you have code like</font>
<font face="Arial, Verdana">bool SetMyLaserIntensity(uint8_t intensity) {</font>
<font face="Arial, Verdana"> // Do your work here</font>
<font face="Arial, Verdana"> return false;</font>
<font face="Arial, Verdana">}</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">That is how the event system works.</font>
<font face="Arial, Verdana">As you see this does not alter the original repetier files at all, so you can simple download latest version and recompile. Your solution still requires modification after each update, which is what we wanted to prevent with the event system</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">Just for completeless, best waveform is full power and use feedrate to control power, which is the default implementation.</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">If you want to switch choose the wave form with the most switches if the laser can handle it. So for 50% it is better 10000 times on/off per second then 10 times.</font>