Godot Version
Godot_v4.7-stable_linux.x86_64
Question
I have a setting system where i save everything into a dict and loading that dict from file every time i run the game. so far its works well and is absolutely perfect just for settings. But now I added a remapping feature for my game and saving the Array[InputEvent] returns
[<EncodedObjectAsID#-9223371987278099943>, <EncodedObjectAsID#-9223371987261322726>]
upon loading and before saving it used to look like
[InputEventKey: keycode=4194320 (Up), mods=none, physical=false, location=unspecified, pressed=false, echo=false, InputEventJoypadButton: button_index=11, pressed=false, pressure=0.00]
this is because Array[InputEvent] are basically an array of pointers so the actual data is lost upon exit. I have some ways where i can convert them into string data but changing the InputMap requires live events. So at the moment I am very much stuck. Pls help me