struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
    if (!isInputDirty<input_UPD>(ctx))
        return;
   
   auto tft = getValue<input_DEV>(ctx);
    tft->setRotation(getValue<input_ROT>(ctx));
    
    emitValue<output_DONE>(ctx, 1);
}