Same here. If pin is input, writing to GPIO does nothing for that pin.
So just make binary combination that is disired, and write to GPIO.