Simplified KeyboardEvent implementation