Add support for swipe gestures from lpm state

Could we just store those two max values as some global variable somewhere, to be filled by the module that talks to evdev? (and maybe with those values being in there by default)