How to enable/implement Multitap input method in LINUX?

I want to use multi-tap input method with the
normal keyboard (Actually I have designed a custom
keypad which operates on PS/2 protocol to which i want to give multiple functionality just like mobile keypad).

  1. Is there default a setting for this in linux to
    change the input method to multitap?
    (I am using RedHat 6)
  2. Is this method available for download or any
    software that i can install to enable this?
    Thank you,