[Coladam] Changing joystick "fire" buttons

Kevin Powers kjpmail at gmail.com
Fri Jul 27 15:09:06 CEST 2012


So to change buttons 1 & 2 into Q & W, respectively, should I write
the following?

E0,6B E0,74 E0,75 E0,72 15 1D

?


On Fri, Jul 27, 2012 at 8:52 AM, Geoff Oltmans <oltmansg at gmail.com> wrote:
>
> Try this for reference...
>
> http://www.computer-engineering.org/ps2keyboard/scancodes2.html
>
> On Jul 27, 2012, at 7:41 AM, Kevin Powers wrote:
>
> > I'm not having much success finding numerical values for the keys.
> > Especially the ones that don't customarily produce character output, like
> > control, arrow keys, alt, etc.
> >
> >
> > On Fri, Jul 27, 2012 at 8:37 AM, Geoff Oltmans <oltmansg at gmail.com> wrote:
> >
> >> Yeah, the txt file is a little short on detail. I think you just want them
> >> one right after the other, no separations. I haven't actually tried this
> >> myself, so let me know if it works (just looked through the code to see how
> >> it's doing things).
> >>
> >>
> >> On Jul 27, 2012, at 7:29 AM, Kevin Powers wrote:
> >>
> >> Thank you!  Should the file just have each hex number, separated by a
> >> carriage return?  It's odd that there is no reference to this in the ADAMEm
> >> readme file.
> >>
> >>
> >> On Thu, Jul 26, 2012 at 11:20 PM, Geoff Oltmans <oltmansg at gmail.com>wrote:
> >>
> >>> You can specify the keyboard->joystick mappings with a file placed in the
> >>> adamem directory named adamem.joy. Inside this file you place, in
> >>> hexidecimal format, the equivalent keys for (in order)
> >>> left,right,up,down,button 1, button 2, button 3, button 4 (four buttons on
> >>> the Super Action Controller). These values are 3 digits long a piece, with
> >>> no separations.
> >>>
> >>> Alternatively, you can specify this on the command line with the -keys
> >>> switch, followed by the string in the same format.
> >>>
> >>> Using the MSDOS version, you can use the keys program to determine what
> >>> this should be. If using the SDL version in windows, you can use the
> >>> Character map program to get the code (in decimal). You have to convert
> >>> this to hex for the keys.
> >>>
> >>>
> >>> On Jul 24, 2012, at 9:20 AM, Kevin Powers wrote:
> >>>
> >>>> Is it possible to change which keyboard key is mapped to each joystick
> >>>> "fire" button in Virtual Adam/AdamEm?
> >>>> _______________________________________________
> >>>> Coladam mailing list
> >>>> Coladam at adamcon.org
> >>>> http://adamcon.org/cgi-bin/mailman/listinfo/coladam
> >>>
> >>>
> >>
> >>
> > _______________________________________________
> > Coladam mailing list
> > Coladam at adamcon.org
> > http://adamcon.org/cgi-bin/mailman/listinfo/coladam
>


More information about the Coladam mailing list