I have wrote them as Read - LSDin in one of the 4. LSDin = D2 then I identify LSDin as buttonStateLeftSideDown? I really don't know what you are referring to as what you stated. D1 through D4 are inputs. Unless you are speaking of how I hard wired it wrong.