I would think it should be relatively easy to change the code to instead respond to up/down movement.