Panda3d for win10 and win11 issue

I put the code for win10 into win11 and found that the coordinates differ greatly from win10. Why

Which code are you referring to, specifically?

it is

Could you clarify what you mean by “the coordinates differ greatly?” Can you describe the difference you are seeing in more detail?