fixed all bugs related to analog/digital buttons, now they properly work