selfImGuiIO handle on which this method operates.
keyImGuiKey logical key identifier, not a platform-native key code.
native_keycodeBackend-native key code, scan code, or legacy key index used to associate platform key data; -1 denotes unavailable data.
native_scancodeBackend-native key code, scan code, or legacy key index used to associate platform key data; -1 denotes unavailable data.
Accept native key metadata for compatibility; this version validates but does not store it.