Add input source type to TapGesture.