The commenter "Skerit" below linked to a recent implementation of this:
See the left-hand side of the diagram here, which is your exact proposal:
The commenter "Skerit" below linked to a recent implementation of this:
See the left-hand side of the diagram here, which is your exact proposal: