If it's in a disassembled state see if there is any kind of restrictor plate around the shaft of the joystick. By that I mean is there a palstic or metal plate with a square cutout(points toward the corners), or a diamond(points of the square straight up & down, left&right)
If it's square it's likely to be 8way, if its a diamond, it's a 4way