Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2494 closed defect

WINCE: mapping right click to non-hard keys doesn't work

Reported by: SF/vividos Owned by: SF/knakos
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Sam and Max

Description

ScummVM version: 0.8.2 The bug is reproducible with 0.8.0, too.

I'm running ScummVM on a Qtek S100 (branded) device that has Windows Mobile 2003 SE. The Qtek has 4 hard buttons, 4 buttons done as a ring around a fifth that should represent a joystick (see http://www.qtek.fi/images/qtek_s100.jpg)

I'm running Sam & Max CD version and the game tells me to map the "right click" action. When I map it to one of the non hard keys (the joystick button in the middle gives me a mapping code of 000d, the joystick directions give 0114, 0113, 0111 and 0112) the key isn't functioning as wished in the game.

When I press the key to give the right-click action, the right-click action is performed, but in the same time the "0. Pause" action is triggered, since this action isn't mapped to any key. If I assign a hard-key to the "pause" action, the "1. Save" key is triggered together with my right-click action.

Mapping a hard-key to the right-click action works, though.

Ticket imported from: #1428663. Ticket imported from: bugs/2494.

Change History (15)

comment:1 by fingolfin, 18 years ago

Owner: set to SF/arisme

comment:2 by fingolfin, 18 years ago

Status: newpending

comment:3 by fingolfin, 18 years ago

Arisme, what is the status of this item?

comment:4 by SF/sf-robot, 18 years ago

Status: pendingclosed

comment:5 by SF/sf-robot, 18 years ago

This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).

comment:6 by SF/vividos, 18 years ago

I just verified that this bug isn't fixed in 0.9.0a. I can still map a soft key to "right-click" and additionally get the action for the first non-assigned action in the list.

comment:7 by SF/vividos, 18 years ago

Status: closednew

comment:8 by fingolfin, 18 years ago

Owner: changed from SF/arisme to SF/knakos

comment:9 by SF/knakos, 18 years ago

Michael, can you verify if this behavior exists in this build: http://users.uoa.gr/~knakos/scummvm-0.8.1- PPC2002_2006_02_03.zip

(it's v.0.8.1 as you can see, so better backup your scummvm.ini file just in case).

comment:10 by SF/vividos, 18 years ago

Unfortunately the 0.8.1 version has the bug, too. Sorry!

comment:11 by SF/knakos, 18 years ago

It is known that some OEM keyboard drivers throw bogus key messages, both on WM_KEYUP and WM_KEYDOWN. It seems like your driver throws a keypress with scancode 0 which confuses scummvm each time a soft key is pressed. I'm against hardcoding stuff like that in the code.

proposed workaround: edit the scummvm.ini file and change in the action_mapping var every 0000 to some other 'illegal' value like 0001. If this works we can close this item.

comment:12 by SF/knakos, 18 years ago

This tracker item is pending response by the submitter; we cannot continue processing it before that happens. As a consequence, its status has been set to "Pending". It will automatically revert to "Open" once a new comment is made to this item. If no response is made within 14 days, it will automatically be closed.

Thank you.

comment:13 by SF/knakos, 18 years ago

Status: newpending

comment:14 by SF/sf-robot, 18 years ago

This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).

comment:15 by SF/sf-robot, 18 years ago

Status: pendingclosed
Note: See TracTickets for help on using tickets.