Add core option for keyboard_cb