user24320: Was looking for hotkeys to ease working in AE and found a bunch but for rotation, it only allows 1 or 10 degrees at a time.
Is there any hotkey to rotate the layer by 0.1 or 0.5 degrees?
Or is there any way to hack/customize it?

user1950: this script rotates the currently selected layer(s) 0.1 degree clockwise. Save it as rotate_0.1_cw.jsx and then add it to a hotkey. Change the line var inc = 0.1; to var inc = -0.1; save as rotate_0.1_ccw.jsx and add it to another hotkey. Rinse, repeat.
// @target aftereffects
(function () {
    var theComp = app.project.activeItem;
    if (theComp) {
        var theLayers = theComp.selectedLayers;
        for (var i = 0; i < theLayers.length; i++) {
            if (theLayers[i].transform.rotation.numKeys) {
                theLayers[i].transform.rotation.setValueAtTime(theComp.time, theLayers[i].transform.rotation.value + 0.1);
            } else {
                theLayers[i].transform.rotation.setValue(theLayers[i].transform.rotation.value + 0.1);
            }
        }
    }
})()


24320: <p>Was looking for hotkeys to ease working in AE and found a bunch but for rotation, it only allows 1 or 10 degrees at a time.</p>
<p>Is there any hotkey to rotate the layer by 0.1 or 0.5 degrees?</p>
<p>Or is there any way to hack/customize it?</p>
 1950: <p>this script rotates the currently selected layer(s) 0.1 degree clockwise. Save it as rotate_0.1_cw.jsx and then <a href="https://helpx.adobe.com/after-effects/using/scripts.html" rel="nofollow noreferrer">add it to a hotkey</a>. Change the line <code>var inc = 0.1;</code> to <code>var inc = -0.1;</code> save as rotate_0.1_ccw.jsx and add it to another hotkey. Rinse, repeat.</p>
<pre><code>// @target aftereffects
(function () {
    var theComp = app.project.activeItem;
    if (theComp) {
        var theLayers = theComp.selectedLayers;
        for (var i = 0; i &lt; theLayers.length; i++) {
            if (theLayers[i].transform.rotation.numKeys) {
                theLayers[i].transform.rotation.setValueAtTime(theComp.time, theLayers[i].transform.rotation.value + 0.1);
            } else {
                theLayers[i].transform.rotation.setValue(theLayers[i].transform.rotation.value + 0.1);
            }
        }
    }
})()
</code></pre>
