Well it depends on the mechanism. I can't really describe it either, I'd have to examine it first had. Basically, it depends on if the button physically closes a circuit or not. If it doesn't, then in theory it is possible, but it would take tons of advanced programming that pretty much no one wants to do, haha. Why do you ask, is your button not working?