OoliteProject / oolite

The main Oolite repository.
https://www.oolite.space
543 stars 70 forks source link

Unable to save keyboard config #479

Closed StickyDigit closed 3 months ago

StickyDigit commented 3 months ago

I'm trying to use the keyboard config screen to add keys for an OXP primeable (waypoint here).

For example, I can set the '#' key for activate, but selecting save does nothing. On my UK laptop keyboard, # is a base key, and ~ is shifted #.

I have tried different keys and primeables.

Latest.log gets this, five times per attempt.

[exception]: ***** Exception checking controls [pollDemoControls]: NSInvalidArgumentException : Can not determine type information for -[GSDictionary setObject:forKey:]

1.91.0.7599-240321-7953d4a-linux-dev-x86_64

phkb commented 3 months ago

I can confirm this error on Linux. Doesn't occur on the Windows build. Investigating now and will report back.

phkb commented 3 months ago

@StickyDigit if you're able to test PR #481 and confirm it works, I'll push it into master.

StickyDigit commented 3 months ago

That's working for me.

Oooh! I like the new coloured section headers in the key config screens.

AnotherCommander commented 3 months ago

OK to close this?

StickyDigit commented 3 months ago

Yes. It's working well. Thanks.