Original post content:
When I try to bind a control with right-alt as a modifier, the game ignores it and uses the other key. If I tap it with no other key, the game uses KEY_257.
I do have an unusual xkb map, which lets me use this as MOD_5 In my window manager, I'm not sure if this is related.
---
I have tested changing my keymap and controls in various ways, and discovered that the problem is actually my xkb map. It seems that factorio 2.1 is detecting modifier keys, but not normal keys, on a higher level that is disturbed by this map.
In 2.0, any modifier key I pressed would be detected as intended
In 2.1, any modifier key I do not have bound through works as intended
But in 2.1, any modifier key I have bound to a non-standard level does not work.
Other keys on the new layer do not get remapped for factorio (for example, I press 'alt' to activate level 3, and 'e' on level 3 to emit the key for '5', but factorio picks up 'key_257' + 'e' and since 'key_257' is not a modifier it is ignored, so the resulting control is just 'e')
---
My keyboard is a custom very small one and I need to use a layer on alt for symbol keys, so I completely lose one of the 3 modifiers under the current implementation
I think the best solution is to revert the change:
- to make .xkb ignored for modifiers (so that pressing alt-e results in 'alt-e' instead of 'e')
If this behavior is intended, then two alternative solutions to my problem would be:
- to make mod5 or layer3 valid modifier layers (so that pressing alt-e results in 'mod5-e' or 'lvl3-e' instead of 'e')
- to make regular keypresses also use the .xkb mapping (so that pressing alt-e results in '5' instead of 'e')
[2.1.14] Regression in modifier key handling when linux remaps with .xkb
Post your bugs and problems so we can fix them.
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions
