Welcome, Guest. Please login or register.

Author Topic: AmigaOS & joysticks (gameport.device?)  (Read 1454 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline shoggothTopic starter

  • Full Member
  • ***
  • Join Date: Dec 2004
  • Posts: 223
    • Show only replies by shoggoth
AmigaOS & joysticks (gameport.device?)
« on: April 16, 2008, 10:03:23 AM »
Howdy,

Not being too familiar with the fundamentals of AmigaOS, I need to know the basics of the joystick API for this system. How does it work? I've read somewhere about a gameport.device. Is this concept somewhat similar to /dev/jsX (linux) or /dev/joystick (BSD)?

The reason I ask is that A - I'm writing device drivers for another OS and might need inspiration, and B - I'm writing an article about joystick APIs on different platforms.

Help, someone? Thanks!
 

Offline rzookol

  • Jr. Member
  • **
  • Join Date: Jul 2006
  • Posts: 77
    • Show only replies by rzookol
 

Offline shoggothTopic starter

  • Full Member
  • ***
  • Join Date: Dec 2004
  • Posts: 223
    • Show only replies by shoggoth
Re: AmigaOS & joysticks (gameport.device?)
« Reply #2 on: April 16, 2008, 02:27:47 PM »
Quote

rzookol wrote:
http://tbs-software.com/guide/index.php?guide=autodocs.doc/lowlevel.doc&node=0


Thanks! Can this be considered "standard", or are there other APIs that I should be aware of? I take it the lowlevel.library/ReadJoyPort is based on polling (as in not event based). Are there other abstraction layers on top?