--Have libbeagle code reading from a file descriptor opened in the GPIO constructor, but not sure what good it's doing me.  CPU usage on the test program is down to ~39% (from ~50%), but still too high to be useful while cameras are running.  Still think it might be better to have a kernel module running that counts ticks and keeps direction, and then reports that info out to user-space on demand.