Get an out of warranty replacement for $249 (your local AASP may have for cheaper).
The official names for the buttons mentioned above are "Home" and "Sleep/Wake".
Apple Certified Macintosh Technician (ACMT) / Support Professional (ACSP)
MacBook Air (13-inch, Mid 2012) 8GB RAM, 256GB Flash Storage
Mac mini (Late 2012) 16GB RAM, Fusion Drive (128GB SSD/750GB 7200RPM)
iPad mini 16GB, iPhone 4S 16GB