Hi, Jack,
Whether your keypad is a special one or generic one? If yours is specificial, you need to prepare the driver, in your driver, you can see there exist a top-half part to translate the input key raw code (i.e. scan code) into Linux standard KEY_xxxx that are defined in linux/input.h. After adjust the mapping between your raw code to KEY_xxx, you check whether the /dev/input/event0 is created for this driver, if everything is done, you can get your keypad input in Ubuntu. If your keypad is generic like USB keypad, you should get it.
Regards,
Alan Zhang
Hi, Jack,
Whether your keypad is a special one or generic one? If yours is specificial, you need to prepare the driver, in your driver, you can see there exist a top-half part to translate the input key raw code (i.e. scan code) into Linux standard KEY_xxxx that are defined in linux/input.h. After adjust the mapping between your raw code to KEY_xxx, you check whether the /dev/input/event0 is created for this driver, if everything is done, you can get your keypad input in Ubuntu. If your keypad is generic like USB keypad, you should get it.
Regards,
Alan Zhang