Added stylus support