Usb keyboard problem with Petunia

This forum is for all AmigaOne 500, Sam440 and Sam460 specific issues.

Usb keyboard problem with Petunia

Postby utri007 » Sat Jan 04, 2014 4:52 pm

Seems that many system friendly games has a problem with usb keyboard. Keyboard works only partially.

Examples :

TSOTTM : it possible to turn left/right and shoot, but not a move because A and Q keys doens't work
Payback : Keys work only if game pad is configured with amiga input. Can't understand how this could affect to keyboard??

There are many more examples like those, in fact almost all system friendly 68k games that I have tested. Generally could say that alphapet keys, some of shift / ctrl keys doesn't work. Space, esc, arrow keys and some shift/ctrl keys works.
utri007
 
Posts: 9
Joined: Wed Feb 20, 2013 8:43 am

Re: Usb keyboard problem with Petunia

Postby chris » Sat Jan 18, 2014 1:24 pm

utri007 wrote:Seems that many system friendly games has a problem with usb keyboard. Keyboard works only partially.

Examples :

TSOTTM : it possible to turn left/right and shoot, but not a move because A and Q keys doens't work
Payback : Keys work only if game pad is configured with amiga input. Can't understand how this could affect to keyboard??

There are many more examples like those, in fact almost all system friendly 68k games that I have tested. Generally could say that alphapet keys, some of shift / ctrl keys doesn't work. Space, esc, arrow keys and some shift/ctrl keys works.


I'd be tempted to blame lowlevel.library rather than Petunia.
I take it you have the generic keyboard driver showing in AmigaInput and it is enabled?
chris
 
Posts: 552
Joined: Sat Jun 18, 2011 12:05 pm

Re: Usb keyboard problem with Petunia

Postby utri007 » Tue Jan 21, 2014 2:46 pm

chris wrote:I'd be tempted to blame lowlevel.library rather than Petunia.
I take it you have the generic keyboard driver showing in AmigaInput and it is enabled?


You are right, I have a generic keyboard driver, it is showing in AmigaInput and yes it is enabled.

How does lowlevel.library works? Is it used only with 68k programs? I don't have any problems with native PPC apps/games
utri007
 
Posts: 9
Joined: Wed Feb 20, 2013 8:43 am

Re: Usb keyboard problem with Petunia

Postby chris » Wed Jan 22, 2014 4:02 pm

utri007 wrote:How does lowlevel.library works? Is it used only with 68k programs? I don't have any problems with native PPC apps/games


I think it's mostly 68k stuff that uses it. Newer code uses AmigaInput directly.

I spoke at length with the author of ASp regarding various OS4 lowlevel.library problems. IIRC there was a keyboard problem there too, but I can't remember the details. I thought it had been reported and fixed ages ago, but maybe not.

I've found some discussion which must have occurred afterwards, from 2007. I probably have the details in YAM, it has either bypassed or pre-dates my GMail account.
chris
 
Posts: 552
Joined: Sat Jun 18, 2011 12:05 pm

Re: Usb keyboard problem with Petunia

Postby chris » Mon Feb 03, 2014 8:03 pm

Just realised I never looked for this. Unfortunately I seem to be missing some emails about it, however I did find the following:

> From Detlef on the OS4-invite list:
>
>> Does the OS4 lowlevel.library support the rawkey generator -
>> SystemControlA() SCON_AddCreateKeys?
>
> No, it doesnt, the tag does nothing. Reported as BZ #2899.


No idea whether that has been fixed yet, or whether it is the cause of your problems - from the AutoDoc it looks like it is supposed to convert joystick events to RawKey codes, so probably not.
chris
 
Posts: 552
Joined: Sat Jun 18, 2011 12:05 pm


Return to Platform: AmigaOne 500 and Sam series

Who is online

Users browsing this forum: No registered users and 5 guests

cron