Originally Posted by aabbcc
Could you add, for example

PORT_CODE(KEYCODE_STOP) PORT_CHAR('.')

just after

PORT_BIT(0x40,IP_ACTIVE_LOW,IPT_KEYBOARD) PORT_NAME(".")

if the PORT_BIT is already in the driver, you don't need any source change.

just press TAB > Input (This System) and you can map the '.' input to whatever key you want...