More keyboard related stuffs

- Changed the keyboard offset magic number to a constant
- Modified comments to have them consistent