update gettting the keycodes for left and right
Merge pull request #53 from Carreau/slm

update gettting the keycodes for left and right