parses config from stdin, can match gestures to those specified in
config