Skip to content

Switch to SDL2, drop winit ASAP. Point numbering broken, console broken on Linux due to winit kbd implementation being bad.Β #31

@ctrlcctrlv

Description

@ctrlcctrlv

This says it all:

https://github.com/rust-windowing/winit/blob/386ead15a3e3fef5c0c02bd7491d3cc9a7a6e0aa/src/platform_impl/linux/x11/events.rs#L178

//ffi::XK_numbersign => VirtualKeyCode::Numbersign

πŸ€¦β€β™‚οΈπŸ€¦β€β™‚οΈπŸ€¦β€β™‚οΈ πŸ˜±β—β—β—

Issue discovered by @eliheuer in his Twitch stream. Confirmed and cause found just now by @iwsfutcmd.

I don't trust any software with code like this commented out period. They have no idea what they're doing in my humble opinion. The fact that Subtract and Minus were only recently unified is shocking as well.

So, this is an urgent issue. I had hoped not to need to rewrite main.rs again, but I don't mind given the severity of their keyboard handling.

SDL2 supports Unicode input, so console will still work without much worry about hooking OS APIs for IME's etc.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingurgentUrgent bug causing significant breakage.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions