trompetin17 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

Quadra RC7 Keys not working #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Game Go To Player Set up
2. Try to assign keys Left Right Down Up
3.

What is the expected output? What do you see instead?
When you lick to assign left and you press the left arrow on the keyboard
you get Alt Char instead of left

When you click to assign right and you press the right keyboard arrow you
get nothing.

When you press up you get PrintScrn

When you press down and the down arrow key you get Win Right

What version of the product are you using? On what operating system?
RCR 1.2.

Please provide any additional information below.
The workaround I found was to assign the number pad 4865 to play.
Also Pause Break doesn't work to start the game when on Internet and you host

Original issue reported on code.google.com by jose.go...@gmail.com on 18 Feb 2009 at 3:46

Attachments:

GoogleCodeExporter commented 8 years ago
I forgot to add I am using Ubuntu Intrepid 8.10 Kernel 2.6.27-11

Original comment by jose.go...@gmail.com on 18 Feb 2009 at 3:47

GoogleCodeExporter commented 8 years ago
Have you tried playing with the strangely assigned keys anyway? It is quite 
likely
that the key labels in the setup screen are incorrect, but that in fact, the 
proper
key is indeed assigned. I'm not really sure of how to fix this, the input layer 
in
this version of Quadra is very dated, you'll find that the SDL-based version 
(in the
Subversion repository's trunk) should probably work more correctly in that 
regard.

I'll look into the Pause key not working. That is only when you are the host?

Original comment by pphaneuf on 19 Feb 2009 at 7:59

GoogleCodeExporter commented 8 years ago
I would try to play with the strange keys but the problem is that the right 
arrow has
nothing at all assigned to it. So it won't let me do that.

Yes the pause break matters only when you are host.

Original comment by jose.go...@gmail.com on 19 Feb 2009 at 8:38

GoogleCodeExporter commented 8 years ago
BTW I can't even get Trunk to compile correctly. To test the SDL Version

Original comment by jose.go...@gmail.com on 19 Feb 2009 at 8:39

GoogleCodeExporter commented 8 years ago
Could you file a separate issue for your compilation problems (with some of the 
error
output) with trunk? Thanks!

Original comment by pphaneuf on 19 Feb 2009 at 9:05

GoogleCodeExporter commented 8 years ago
I managed to reproduce the problem. It seems some of the X keycodes changed? 
Argh.
And while the incorrect labelling doesn't actually pose a problem (even if it 
says
Alt Char or PrntScrn, it will work correctly in the game), both the right arrow 
and
the Pause key give me an "unknown keycode" warning when compiled with 
--enable-debug.

I'm not sure if I'm going to put the effort of fixing the labelling, but not 
being
able to use the right arrow sucks, and not being able to unpause the game is 
really bad.

Original comment by pphaneuf on 19 Feb 2009 at 10:30

GoogleCodeExporter commented 8 years ago
It's not entirely surprising that the following bit is responsible:

http://code.google.com/p/quadra/source/browse/trunk/quadra/skelton/svgalib/input
_x11.cpp?r=453#50

Now, I'll have to think a bit about how to fix this...

Original comment by pphaneuf on 20 Feb 2009 at 4:44

GoogleCodeExporter commented 8 years ago
Sweet! Thanks for looking into it! Filed a separate issue on the Trunk Compile
problem but its solved now. it wouldn't find my SDL library

Original comment by jose.go...@gmail.com on 20 Feb 2009 at 5:23

GoogleCodeExporter commented 8 years ago
r729 and r730 should fix these issues. I'm not ultra-confident about the fix 
for the
right arrow (that code is *very* questionable!), but the fix for the Pause key 
should
be pretty solid.

I also added Ctrl-P as an alternative to the Pause key, on some laptop 
keyboards the
latter is not very convenient.

Original comment by pphaneuf on 21 Feb 2009 at 4:59