I have an original Apple Joystick and a modern controller. Both can be >connected via USB to my Mac running macOS 10.13. Both input devices are >recognized, and movements and buttons work as expected: I have verified
that with an app call Joystick Show, and also using Virtual ][.
But none of them seems to work with any IIGS emulator. I have tried
Sweet16 3.0.3, GSPlus 0.14, and the recently updated KEGS 1.11. Since
the results (or lack thereof) are the same for all of them, I am likely >skipping some mandatory configuration. Can you help?
This is what I have done in each emulator:
- Sweet16: I make sure that Setup > Joystick support is checked.
- GSPlus: F4 > Joystick Configuration > Joystick Emulation is already
set to Native Joystick 1 (which I believe to be correct), but I have
also tried with Native Joystick 2. I "Save Changes to configuration
file" to be sure that the settings stick.
- KEGS: same procedure as GSPlus.
I have tried with several games, but none receives input from the
joystick. Any idea how to debug that?
Nicola
In article <sfrb1e$1bkr$1@gioia.aioe.org>, Nicola <nicola@nohost.org> wrote:
Hi,
I have an original Apple Joystick and a modern controller.
But none of them seems to work with any IIGS emulator. I have tried
Sweet16 3.0.3, GSPlus 0.14, and the recently updated KEGS 1.11.
I wrote KEGS.
On a Mac, I don't know how to access the joystick, and so KEGS
doesn't support joysticks on a Mac.]
If you can help provide pointers to how to do this, I can code it in
KEGS.
Or if someone who knows how to do this in a Mac could share that info
with me, that would be great. Or if you could share the source to
Joystick Show with me.
In article <sfrb1e$1bkr$1@gioia.aioe.org>, Nicola <nicola@nohost.org> wrote:
Hi,
I have an original Apple Joystick and a modern controller.
But none of them seems to work with any IIGS emulator. I have tried >>>Sweet16 3.0.3, GSPlus 0.14, and the recently updated KEGS 1.11.
I wrote KEGS.
Thanks for the time you and the other developers invest to keep ol'good
times alive!
On a Mac, I don't know how to access the joystick, and so KEGS
doesn't support joysticks on a Mac.]
Good to know. I assume that the same holds for the other emulators (but
see below).
OK, based on your information, I think I've made Mac joysticks work in KEGS. This was easier than I expected since Apple DID have a sample project (I just didn't find it right away). I didn't know you could just plug in PS4 controllers to your Mac with a USB cable, so I did that, and made it work under KEGS 1.12. You can download KEGS.1.12 at:
http://kegs.sourceforge.net/
Select "Native Joystick 1" from the Joystick Configuration sub-menu, from the configuration settings you can change after pressing F4.
If a joystick isn't detected, then Joystick Emulation will jump back to Keypad Joystick when you go back to the F4 page.
On 2021-08-22, Kent Dickey <kegs@provalid.com> wrote:
If a joystick isn't detected, then Joystick Emulation will jump back to
Keypad Joystick when you go back to the F4 page.
That is what I am seeing.
On 2021-08-23, Nicola <nicola@nohost.org> wrote:
On 2021-08-22, Kent Dickey <kegs@provalid.com> wrote:
If a joystick isn't detected, then Joystick Emulation will jump back to
Keypad Joystick when you go back to the F4 page.
That is what I am seeing.
I have played a bit with your source code and the sample code provided
by Apple. In both, calling controllers() on GCController returns an
empty list, even if a controller is attached. So, I am at a loss,
because at the same time apps such as Joystick Show and Virtual ][ see
the controller without issues.
On 2021-08-22, Kent Dickey <kegs@provalid.com> wrote:
If a joystick isn't detected, then Joystick Emulation will jump back to
Keypad Joystick when you go back to the F4 page.
That is what I am seeing.
I have played a bit with your source code and the sample code provided
by Apple. In both, calling controllers() on GCController returns an
empty list, even if a controller is attached. So, I am at a loss,
because at the same time apps such as Joystick Show and Virtual ][ see
the controller without issues.
Nicola
OK, that could be--your joystick works, but not through GCController.
Can you find any program which can use your joystick, and which has source code available? I think you're saying the Apple GCController sample code does not see your joystick, so the code which works must be doing something differently. You could try other emulators (VirtualC64 has full source)
and see if you can find one which detects and uses your joystick.
OK, that could be--your joystick works, but not through GCController.
Can you find any program which can use your joystick, and which has source >> code available? I think you're saying the Apple GCController sample code
does not see your joystick, so the code which works must be doing something >> differently. You could try other emulators (VirtualC64 has full source)
and see if you can find one which detects and uses your joystick.
VirtualC64 detects both of my input devices. Skimming through the source >code, it appears to use IOKit.hid. This should be the documentation of
the used framework:
https://developer.apple.com/documentation/hiddriverkit
Nicola
I have purchased a 15-pin joystick to USB adapter, and I can make my old Apple II joystick work in Virtual ][ (so the hardware works).
Unfortunately, I've not had time to really figure this HID software
stuff out. I'll get to it soon.
I have purchased a 15-pin joystick to USB adapter, and I can make my old
Apple II joystick work in Virtual ][ (so the hardware works).
Wow, that's real commitment to the project!
Unfortunately, I've not had time to really figure this HID software
stuff out. I'll get to it soon.
Thanks! I hope you will be able to take advantage of the existing code
in Virtual C64!
Nicola
In article <shf5r9$420$1@gioia.aioe.org>, Nicola <nicola@nohost.org> wrote:
On 2021-09-08, Kent Dickey <kegs@provalid.com> wrote:
I have purchased a 15-pin joystick to USB adapter, and I can make my old >>> Apple II joystick work in Virtual ][ (so the hardware works).
Wow, that's real commitment to the project!
Unfortunately, I've not had time to really figure this HID software
stuff out. I'll get to it soon.
Thanks! I hope you will be able to take advantage of the existing code
in Virtual C64!
Nicola
Try kegs.1.13.tar.gz from http://kegs.sourceforge.net/. I now use the
older IOHID code (following the example of Virtual C64) to make my USB joystick work, and my Sony PS4 controller still works, too.
In article <shf5r9$420$1@gioia.aioe.org>, Nicola <nicola@nohost.org> wrote: >>>On 2021-09-08, Kent Dickey <kegs@provalid.com> wrote:
I have purchased a 15-pin joystick to USB adapter, and I can make my old >>>> Apple II joystick work in Virtual ][ (so the hardware works).
Wow, that's real commitment to the project!
Unfortunately, I've not had time to really figure this HID software
stuff out. I'll get to it soon.
Thanks! I hope you will be able to take advantage of the existing code
in Virtual C64!
Nicola
Try kegs.1.13.tar.gz from http://kegs.sourceforge.net/. I now use the
older IOHID code (following the example of Virtual C64) to make my USB
joystick work, and my Sony PS4 controller still works, too.
Yeah, my joysticks work great, too! Thanks a lot!
I have tried it on macOS 10.13 and 11.6. KEGS appears to be a lot
snappier on older macOS: scrolling through the configuration is
significantly slower on Big Sur. Also, KEGS starts stuttering when in >full-screen in Big Sur. I have no issues with High Sierra, not even when
in full-screen mode.
Besides, I have to launch KEGS from the terminal: if I double-click on
the app, it doesn't seem to pick up config.kegs. And in High Sierra,
when I launch the KEGS app, it crashes as soon as I try to save or exit
the configuration screen. When I launch KEGS from the terminal
everything is fine.
One user suggested doing Cmd-I on the KEGSMAC.app icon, and selecting
"Open in Low Resolution" button. I've not fully confirmed this, but
it might help.
One user suggested doing Cmd-I on the KEGSMAC.app icon, and selecting
"Open in Low Resolution" button. I've not fully confirmed this, but
it might help.
That help indeed, thanks!
Nicola
In article <sjnd9u$1o21$1...@gioia.aioe.org>, Nicola <nic...@nohost.org> wrote:Do you have anything to do with the GSplus emulator for retropie? -Doug
On 2021-10-04, Kent Dickey <ke...@provalid.com> wrote:
One user suggested doing Cmd-I on the KEGSMAC.app icon, and selecting
"Open in Low Resolution" button. I've not fully confirmed this, but
it might help.
That help indeed, thanks!The next KEGS release will default to this setting.
Nicola
Kent
On Thursday, November 11, 2021 at 1:57:54 PM UTC-8, Kent Dickey wrote:
In article <sjnd9u$1o21$1...@gioia.aioe.org>, Nicola<nic...@nohost.org> wrote:
Do you have anything to do with the GSplus emulator for retropie? -DougOn 2021-10-04, Kent Dickey <ke...@provalid.com> wrote:The next KEGS release will default to this setting.
One user suggested doing Cmd-I on the KEGSMAC.app icon, and selecting
"Open in Low Resolution" button. I've not fully confirmed this, but
it might help.
That help indeed, thanks!
Nicola
Kent
No. GSPlus is by Dagen Brock, who has made many modifications to KEGS.
I just googled retropie, so I have now heard of it at least. What are you using retropie for?
Kent
No. GSPlus is by Dagen Brock, who has made many modifications to KEGS.
I just googled retropie, so I have now heard of it at least. What are you
using retropie for?
Kent
I use it to emulate a total of 50 systems from Apple 2 and old computers
to arcade games and consoles up until 1999/2000.
Does your emulator play apple 2 gs games... especially Ancient Glory,
Sensei, The Gate and Shufflepuck Cafe?? With joystick? Is there a port
for it that someone has made for the Retropie?
Thanks for looking up “retropie”. Barnes and Noble has entire
magazines devoted to them in their sores :)
In article <dd6d3248-6277-4bda...@googlegroups.com>,
Douglas S <dug...@gmail.com> wrote:
No. GSPlus is by Dagen Brock, who has made many modifications to KEGS.
I just googled retropie, so I have now heard of it at least. What are you >> using retropie for?
Kent
I use it to emulate a total of 50 systems from Apple 2 and old computers >to arcade games and consoles up until 1999/2000.
Does your emulator play apple 2 gs games... especially Ancient Glory, >Sensei, The Gate and Shufflepuck Cafe?? With joystick? Is there a portI couldn't find instructions on compiling Retropie from source, so the whole project appears to be a "dead end"--grabbing others work, putting a light wrapper around it, and killing the original projects by only distributing binaries. It looks like it's a "fork" of RetroArch, which is it's own type of "dead end".
for it that someone has made for the Retropie?
Thanks for looking up “retropie”. Barnes and Noble has entire >magazines devoted to them in their sores :)
KEGS runs just about all Apple IIgs games. If you find one that doesn't work, I'll fix it. KEGS supports joysticks on Linux and Mac. See http://kegs.sourceforge.net/. KEGS is GPLv3, so it is required to distribute source if you repackage it.
Kent
On Friday, December 23, 2022 at 11:09:23 AM UTC-8, Kent Dickey wrote:fire. The second needing to emulate a mouse with the joypad. Currently i need a keyboard to play the first game and a mouse to play the second and I'd like to use the joypad for both. :)
In article <dd6d3248-6277-4bda...@googlegroups.com>,
Douglas S <dug...@gmail.com> wrote:
No. GSPlus is by Dagen Brock, who has made many modifications to KEGS. >> I just googled retropie, so I have now heard of it at least. What are you
using retropie for?
Kent
I use it to emulate a total of 50 systems from Apple 2 and old computers >to arcade games and consoles up until 1999/2000.
Does your emulator play apple 2 gs games... especially Ancient Glory, >Sensei, The Gate and Shufflepuck Cafe?? With joystick? Is there a port >for it that someone has made for the Retropie?I couldn't find instructions on compiling Retropie from source, so the whole
Thanks for looking up “retropie”. Barnes and Noble has entire >magazines devoted to them in their sores :)
project appears to be a "dead end"--grabbing others work, putting a light wrapper around it, and killing the original projects by only distributing binaries. It looks like it's a "fork" of RetroArch, which is it's own type of "dead end".
KEGS runs just about all Apple IIgs games. If you find one that doesn't work, I'll fix it. KEGS supports joysticks on Linux and Mac. See http://kegs.sourceforge.net/. KEGS is GPLv3, so it is required to distribute
source if you repackage it.
KentThe last 2 .gsp files i created work and load the games but the joypad does not work. I think i need a keyboard joypad for the first game and a mouse joystick for the 2nd. The first needing to emulate the keypad presses 8,3,4,6 and 5. And Left Alt to
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 468 |
Nodes: | 16 (2 / 14) |
Uptime: | 18:15:23 |
Calls: | 9,440 |
Calls today: | 3 |
Files: | 13,594 |
Messages: | 6,109,723 |