switched mouse activation to be a bit mask so multiple mouse buttons could be assigned to the same function simultaneously