At the recent Wearable Technology Show in London, the BBC found a smart button that connects to a phone via bluetooth and then detects different parts of each finger which can be programmed to trigger a different action. Check the video for a demo.
Tapdo is behind the technology and is planning an offer on Kickstarter.