This stuff is taken directly from `missionst/corexy`  I imagine we'll need to adjust it a bit for the new bed, which is being laser-cut as I'm writing this.