fix-CONTRIB-4506 : unknown method TC_keypad_char_value

Hi Gordon,

here is the fix of the issue [CONTRIB-4506](https://tracker.moodle.org/browse/CONTRIB-4506)

Best regards

Eric