Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0009559 [DCSS] Bug Report major always 2015-03-19 06:26 2015-05-29 12:27
Reporter anntzer View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch 0.16 ancient branch
Summary 0009559: ctrl-<key> does not work
Description ctrl-<key> combinations do not work.

During startup, the following error is printed to the console:
Keyboard layout unknown, please send the following to the SDL mailing list (sdl@libsdl.org):
code = 1, sym = 0xFF50 (Home) scancode = 74 (Home)
code = 2, sym = 0x26 (ampersand) scancode not found
[elided]
(I have a keyboard layout slightly customized via the use of xmodmap.)

Later, a number of messages such as the following are printed:
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <sdl@libsdl.org> X11 KeyCode 31 (23), X11 KeySym 0x69 (i).

crawl version (packaged by Arch Linux):
Crawl version 0.16.0
Save file version 34.135
Compiled with GCC 4.9.2 20150304 (prerelease) on Mar 17 2015 at 12:25:48
Build platform: x86_64-unknown-linux-gnu
Platform: x86_64-unknown-linux-gnu
CFLAGS: -O2 -pipe -Wall -Wformat-security -Wundef -Wno-array-bounds -Wno-format-zero-length -Wmissing-declarations -Wredundant-decls -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -isystem /usr/include/lua5.1 -Irltiles -isystem /usr/include/ncursesw -DWIZARD -DASSERTS -DCLUA_BINDINGS -DSAVE_DIR_PATH="~/.crawl/" -DDATA_DIR_PATH="/usr/share/stone-soup/data/"
LDFLAGS: -rdynamic -fuse-ld=gold -O2
Additional Information
Tags input
Attached Files

- Relationships

-  Notes
(0028677)
timbabwe (reporter)
2015-03-20 04:05

I'm having this issue also. Tiles version is no longer (since 0.16) picking up on my xmodmap configuration.
(0028738)
thardy01 (reporter)
2015-03-30 04:02

Same problem here half my keys no longer work
(0029109)
axujen (reporter)
2015-05-28 16:30

Same issue here with archlinux, the problem seems to be related to xmodmap, if i reset it using setxkbmap us the input work normally but using xmodmap to modify my keyboard layout results in this bug
(0029110)
thardy01 (reporter)
2015-05-28 19:04

For me this was a SDL problem after reading http://forums.libsdl.org/viewtopic.php?p=42784&sid=c6f3d4c6aa9c0c9faf1d9d031c9a2c98 [^] and applying this patch https://hg.libsdl.org/SDL/rev/fb44c438a3e5 [^] it fixed the problem hope it helps anyone else having these issues.
(0029111)
anntzer (reporter)
2015-05-28 19:20

I see that crawl is vendorizing SDL as a git submodule; perhaps the patch could be included?
(0029116)
axujen (reporter)
2015-05-29 12:27

I can confirm the patch linked by thardy01 works however its not
perfect, you have your Home, PageUP, UP, Left, Delete, and Enter keys
4 of these must not be remapped by xmodmap otherwise it wont work.

Personally i had all of these remapped somewhere in my laptop's numeric pad
so i had to unmap some of the less usefull ones for it to work.

Not the best solution but its a workaround, i do suggest the discussion
to be moved to the sdl bugtracker though since the bug isnt from crawl
itself.

- Issue History
Date Modified Username Field Change
2015-03-19 06:26 anntzer New Issue
2015-03-20 04:05 timbabwe Note Added: 0028677
2015-03-20 04:05 timbabwe Issue Monitored: timbabwe
2015-03-30 04:02 thardy01 Note Added: 0028738
2015-05-28 16:30 axujen Note Added: 0029109
2015-05-28 16:30 axujen Tag Attached: input
2015-05-28 19:04 thardy01 Note Added: 0029110
2015-05-28 19:20 anntzer Note Added: 0029111
2015-05-29 12:27 axujen Note Added: 0029116


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker