Following some casual discussion, it is here.
XpandShield MK II
As said, I had nuked the joystick code and therefore the joystick sketch likely won't be in a working state until I clean it up. And everyone know that cleaning up code is some of the most painful things to do.
But maybe you are saved from to my laziness to update code to github.
Yes, you are. Thank me.
... I should name it better.
I have also created a "programmable mouse" sketch that ... well, is a mouse. A somewhat useable mouse with input from a joystick (left one) and buttons (conveniently the ones associated with the first 74HC165D). And a autoclicker with built-in scramble.