Theo Watson cooked up a chunk of code with OpenFrameworks that types a smiley face into your text chat, email, etc. when it recognizes that you’ve smiled. =]

Auto Smiley