* [PATCH 0/3] Multiple fixes to Amiga joystick documentation @ 2025-05-26 1:14 George Anthony Vernon 2025-05-26 1:14 ` [PATCH 1/3] input: docs: Fix broken table formatting George Anthony Vernon ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: George Anthony Vernon @ 2025-05-26 1:14 UTC (permalink / raw) To: dmitry.torokhov, corbet, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees, George Anthony Vernon Hi, I've made a few fixes to the Amiga joystick documentation. I discovered the unintentional spanning cell when experimenting with the Sphinx manpage builder which emits warnings for those. I've split these fixes up into logically separated commits which I hope make them easy to review. Please do let me know if I've done so in poor taste. Thanks, George George Anthony Vernon (3): input: docs: Fix broken table formatting input: docs: Correct Amiga 4-jstick adapter pinout input: docs: Fix Amiga joysticks grammar & formatting Documentation/input/devices/amijoy.rst | 126 +++++++++++++------------ 1 file changed, 68 insertions(+), 58 deletions(-) -- 2.49.0 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] input: docs: Fix broken table formatting 2025-05-26 1:14 [PATCH 0/3] Multiple fixes to Amiga joystick documentation George Anthony Vernon @ 2025-05-26 1:14 ` George Anthony Vernon 2025-05-26 2:34 ` Bagas Sanjaya 2025-05-26 1:14 ` [PATCH 2/3] input: docs: Correct Amiga 4-jstick adapter pinout George Anthony Vernon 2025-05-26 1:14 ` [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting George Anthony Vernon 2 siblings, 1 reply; 8+ messages in thread From: George Anthony Vernon @ 2025-05-26 1:14 UTC (permalink / raw) To: dmitry.torokhov, corbet, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees, George Anthony Vernon Missing '+' led to unintended spanning cell. Correct this. Signed-off-by: George Anthony Vernon <contact@gvernon.com> --- Documentation/input/devices/amijoy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/input/devices/amijoy.rst b/Documentation/input/devices/amijoy.rst index 8df7b11cd98d..f854ee975247 100644 --- a/Documentation/input/devices/amijoy.rst +++ b/Documentation/input/devices/amijoy.rst @@ -123,7 +123,7 @@ JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 clocked by 2 of the signals input from the mouse serial stream. Starting with first bit received: - +-------------------+-----------------------------------------+ + +--------+----------+-----------------------------------------+ | Serial | Bit Name | Description | +========+==========+=========================================+ | 0 | M0H | JOY0DAT Horizontal Clock | -- 2.49.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] input: docs: Fix broken table formatting 2025-05-26 1:14 ` [PATCH 1/3] input: docs: Fix broken table formatting George Anthony Vernon @ 2025-05-26 2:34 ` Bagas Sanjaya 0 siblings, 0 replies; 8+ messages in thread From: Bagas Sanjaya @ 2025-05-26 2:34 UTC (permalink / raw) To: George Anthony Vernon, dmitry.torokhov, corbet, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees [-- Attachment #1: Type: text/plain, Size: 1080 bytes --] On Mon, May 26, 2025 at 02:14:41AM +0100, George Anthony Vernon wrote: > diff --git a/Documentation/input/devices/amijoy.rst b/Documentation/input/devices/amijoy.rst > index 8df7b11cd98d..f854ee975247 100644 > --- a/Documentation/input/devices/amijoy.rst > +++ b/Documentation/input/devices/amijoy.rst > @@ -123,7 +123,7 @@ JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 > clocked by 2 of the signals input from the mouse serial > stream. Starting with first bit received: > > - +-------------------+-----------------------------------------+ > + +--------+----------+-----------------------------------------+ > | Serial | Bit Name | Description | > +========+==========+=========================================+ > | 0 | M0H | JOY0DAT Horizontal Clock | Fix is verified in htmldocs output, thanks! Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com> -- An old man doll... just what I always wanted! - Clara [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/3] input: docs: Correct Amiga 4-jstick adapter pinout 2025-05-26 1:14 [PATCH 0/3] Multiple fixes to Amiga joystick documentation George Anthony Vernon 2025-05-26 1:14 ` [PATCH 1/3] input: docs: Fix broken table formatting George Anthony Vernon @ 2025-05-26 1:14 ` George Anthony Vernon 2025-05-26 1:14 ` [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting George Anthony Vernon 2 siblings, 0 replies; 8+ messages in thread From: George Anthony Vernon @ 2025-05-26 1:14 UTC (permalink / raw) To: dmitry.torokhov, corbet, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees, George Anthony Vernon Pinout incorrectly duplicated pin 18, correct this. Signed-off-by: George Anthony Vernon <contact@gvernon.com> --- Documentation/input/devices/amijoy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/input/devices/amijoy.rst b/Documentation/input/devices/amijoy.rst index f854ee975247..ea4de1ac0360 100644 --- a/Documentation/input/devices/amijoy.rst +++ b/Documentation/input/devices/amijoy.rst @@ -17,7 +17,7 @@ Pin Meaning Pin Meaning 4 Left1 8 Left2 5 Right1 9 Right2 13 Fire1 11 Fire2 -18 Gnd1 18 Gnd2 +19 Gnd1 18 Gnd2 ===== ======== ==== ========== Amiga digital joystick pinout -- 2.49.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting 2025-05-26 1:14 [PATCH 0/3] Multiple fixes to Amiga joystick documentation George Anthony Vernon 2025-05-26 1:14 ` [PATCH 1/3] input: docs: Fix broken table formatting George Anthony Vernon 2025-05-26 1:14 ` [PATCH 2/3] input: docs: Correct Amiga 4-jstick adapter pinout George Anthony Vernon @ 2025-05-26 1:14 ` George Anthony Vernon 2025-05-26 2:43 ` Bagas Sanjaya 2 siblings, 1 reply; 8+ messages in thread From: George Anthony Vernon @ 2025-05-26 1:14 UTC (permalink / raw) To: dmitry.torokhov, corbet, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees, George Anthony Vernon Make small grammar fixes to Amiga joystick documentation. Also make heading adornments compliant with the guidelines to improve organisation of the page. Signed-off-by: George Anthony Vernon <contact@gvernon.com> --- Documentation/input/devices/amijoy.rst | 122 +++++++++++++------------ 1 file changed, 66 insertions(+), 56 deletions(-) diff --git a/Documentation/input/devices/amijoy.rst b/Documentation/input/devices/amijoy.rst index ea4de1ac0360..48e326c41045 100644 --- a/Documentation/input/devices/amijoy.rst +++ b/Documentation/input/devices/amijoy.rst @@ -1,14 +1,15 @@ -~~~~~~~~~~~~~~~~~~~~~~~~~ -Amiga joystick extensions -~~~~~~~~~~~~~~~~~~~~~~~~~ +=============== +Amiga joysticks +=============== +Pinouts +======= -Amiga 4-joystick parport extension -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Amiga 4-joystick parallel port extension +---------------------------------------- Parallel port pins: - ===== ======== ==== ========== Pin Meaning Pin Meaning ===== ======== ==== ========== @@ -20,8 +21,8 @@ Pin Meaning Pin Meaning 19 Gnd1 18 Gnd2 ===== ======== ==== ========== -Amiga digital joystick pinout -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Amiga digital joystick +---------------------- === ============ Pin Meaning @@ -37,8 +38,8 @@ Pin Meaning 9 Thumb button === ============ -Amiga mouse pinout -~~~~~~~~~~~~~~~~~~ +Amiga mouse +----------- === ============ Pin Meaning @@ -54,8 +55,8 @@ Pin Meaning 9 Right button === ============ -Amiga analog joystick pinout -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Amiga analog joystick +--------------------- === ============== Pin Meaning @@ -71,8 +72,8 @@ Pin Meaning 9 Analog Y === ============== -Amiga lightpen pinout -~~~~~~~~~~~~~~~~~~~~~ +Amiga lightpen +-------------- === ============= Pin Meaning @@ -88,19 +89,23 @@ Pin Meaning 9 Stylus button === ============= -------------------------------------------------------------------------------- +Register addresses +================== + +JOY0DAT/JOY1DAT +--------------- -======== === ==== ==== ====== ======================================== +======== === ==== ==== ====== =========================================== NAME rev ADDR type chip Description -======== === ==== ==== ====== ======================================== -JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert, horiz) -JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert,horiz) -======== === ==== ==== ====== ======================================== +======== === ==== ==== ====== =========================================== +JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert., horiz.) +JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert., horiz.) +======== === ==== ==== ====== =========================================== These addresses each read a 16 bit register. These in turn are loaded from the MDAT serial stream and are clocked in on the rising edge of SCLK. MLD output is used to parallel load - the external parallel-to-serial converter.This in turn is + the external parallel-to-serial converter. This in turn is loaded with the 4 quadrature inputs from each of two game controller ports (8 total) plus 8 miscellaneous control bits which are new for LISA and can be read in upper 8 bits of @@ -108,7 +113,7 @@ JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert,horiz) Register bits are as follows: - - Mouse counter usage (pins 1,3 =Yclock, pins 2,4 =Xclock) + - Mouse counter usage (pins 1,3 =Yclock, pins 2,4 =Xclock) ======== === === === === === === === === ====== === === === === === === === BIT# 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 @@ -160,7 +165,8 @@ JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 | Right | 4 | X1 | +------------+------+---------------------------------+ -------------------------------------------------------------------------------- +JOYTEST +------- ======== === ==== ==== ====== ================================================= NAME rev ADDR type chip Description @@ -177,14 +183,15 @@ JOYTEST 036 W Denise Write to all 4 joystick-mouse counters at once. JOYxDAT Y7 Y6 Y5 Y4 Y3 Y2 xx xx X7 X6 X5 X4 X3 X2 xx xx ========= === === === === === === === === ====== === === === === === === === -------------------------------------------------------------------------------- +POT0DAT/POT1DAT +--------------- -======= === ==== ==== ====== ======================================== +======= === ==== ==== ====== =========================================== NAME rev ADDR type chip Description -======= === ==== ==== ====== ======================================== -POT0DAT h 012 R Paula Pot counter data left pair (vert, horiz) -POT1DAT h 014 R Paula Pot counter data right pair (vert,horiz) -======= === ==== ==== ====== ======================================== +======= === ==== ==== ====== =========================================== +POT0DAT h 012 R Paula Pot counter data left pair (vert., horiz.) +POT1DAT h 014 R Paula Pot counter data right pair (vert., horiz.) +======= === ==== ==== ====== =========================================== These addresses each read a pair of 8 bit pot counters. (4 counters total). The bit assignment for both @@ -198,6 +205,7 @@ POT1DAT h 014 R Paula Pot counter data right pair (vert,horiz) LEFT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 ====== === === === === === === === === ====== === === === === === === === +.. +--------------------------+-------+ | CONNECTORS | PAULA | +-------+------+-----+-----+-------+ @@ -213,12 +221,13 @@ POT1DAT h 014 R Paula Pot counter data right pair (vert,horiz) +-------+------+-----+-----+-------+ With normal (NTSC or PAL) horiz. line rate, the pots will - give a full scale (FF) reading with about 500kohms in one - frame time. With proportionally faster horiz line times, + give a full scale (FF) reading with about 500k ohm in one + frame time. With proportionally faster horiz. line times, the counters will count proportionally faster. This should be noted when doing variable beam displays. -------------------------------------------------------------------------------- +POTGO +----- ====== === ==== ==== ====== ================================================ NAME rev ADDR type chip Description @@ -227,7 +236,8 @@ POTGO 034 W Paula Pot port (4 bit) bi-direction and data, and pot counter start. ====== === ==== ==== ====== ================================================ -------------------------------------------------------------------------------- +POTINP +------ ====== === ==== ==== ====== ================================================ NAME rev ADDR type chip Description @@ -238,26 +248,26 @@ POTINP 016 R Paula Pot pin data read This register controls a 4 bit bi-direction I/O port that shares the same 4 pins as the 4 pot counters above. - +-------+----------+---------------------------------------------+ - | BIT# | FUNCTION | DESCRIPTION | - +=======+==========+=============================================+ - | 15 | OUTRY | Output enable for Paula pin 33 | - +-------+----------+---------------------------------------------+ - | 14 | DATRY | I/O data Paula pin 33 | - +-------+----------+---------------------------------------------+ - | 13 | OUTRX | Output enable for Paula pin 32 | - +-------+----------+---------------------------------------------+ - | 12 | DATRX | I/O data Paula pin 32 | - +-------+----------+---------------------------------------------+ - | 11 | OUTLY | Out put enable for Paula pin 36 | - +-------+----------+---------------------------------------------+ - | 10 | DATLY | I/O data Paula pin 36 | - +-------+----------+---------------------------------------------+ - | 09 | OUTLX | Output enable for Paula pin 35 | - +-------+----------+---------------------------------------------+ - | 08 | DATLX | I/O data Paula pin 35 | - +-------+----------+---------------------------------------------+ - | 07-01 | X | Not used | - +-------+----------+---------------------------------------------+ - | 00 | START | Start pots (dump capacitors,start counters) | - +-------+----------+---------------------------------------------+ + +-------+----------+----------------------------------------------+ + | BIT# | FUNCTION | DESCRIPTION | + +=======+==========+==============================================+ + | 15 | OUTRY | Output enable for Paula pin 33 | + +-------+----------+----------------------------------------------+ + | 14 | DATRY | I/O data Paula pin 33 | + +-------+----------+----------------------------------------------+ + | 13 | OUTRX | Output enable for Paula pin 32 | + +-------+----------+----------------------------------------------+ + | 12 | DATRX | I/O data Paula pin 32 | + +-------+----------+----------------------------------------------+ + | 11 | OUTLY | Out put enable for Paula pin 36 | + +-------+----------+----------------------------------------------+ + | 10 | DATLY | I/O data Paula pin 36 | + +-------+----------+----------------------------------------------+ + | 09 | OUTLX | Output enable for Paula pin 35 | + +-------+----------+----------------------------------------------+ + | 08 | DATLX | I/O data Paula pin 35 | + +-------+----------+----------------------------------------------+ + | 07-01 | X | Not used | + +-------+----------+----------------------------------------------+ + | 00 | START | Start pots (dump capacitors, start counters) | + +-------+----------+----------------------------------------------+ -- 2.49.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting 2025-05-26 1:14 ` [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting George Anthony Vernon @ 2025-05-26 2:43 ` Bagas Sanjaya 2025-05-26 12:48 ` Jonathan Corbet 0 siblings, 1 reply; 8+ messages in thread From: Bagas Sanjaya @ 2025-05-26 2:43 UTC (permalink / raw) To: George Anthony Vernon, dmitry.torokhov, corbet, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees [-- Attachment #1: Type: text/plain, Size: 738 bytes --] On Mon, May 26, 2025 at 02:14:43AM +0100, George Anthony Vernon wrote: > Make small grammar fixes to Amiga joystick documentation. > > Also make heading adornments compliant with the guidelines to improve > organisation of the page. Split up these two changes into separate patches. > -~~~~~~~~~~~~~~~~~~~~~~~~~ > -Amiga joystick extensions > -~~~~~~~~~~~~~~~~~~~~~~~~~ > +=============== > +Amiga joysticks > +=============== I would prefer to keep section adornments in this doc as-is, though. > +Register addresses > +================== > + > +JOY0DAT/JOY1DAT > +--------------- But adding sections for register addresses looks OK. Thanks. -- An old man doll... just what I always wanted! - Clara [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting 2025-05-26 2:43 ` Bagas Sanjaya @ 2025-05-26 12:48 ` Jonathan Corbet 2025-05-26 13:56 ` Bagas Sanjaya 0 siblings, 1 reply; 8+ messages in thread From: Jonathan Corbet @ 2025-05-26 12:48 UTC (permalink / raw) To: Bagas Sanjaya, George Anthony Vernon, dmitry.torokhov, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees Bagas Sanjaya <bagasdotme@gmail.com> writes: > On Mon, May 26, 2025 at 02:14:43AM +0100, George Anthony Vernon wrote: >> Make small grammar fixes to Amiga joystick documentation. >> >> Also make heading adornments compliant with the guidelines to improve >> organisation of the page. > > Split up these two changes into separate patches. The word "also" in a changelog is indeed a hint that a patch is doing too many things. For a simple patch like this, though, I would not force a resend just for that. >> -~~~~~~~~~~~~~~~~~~~~~~~~~ >> -Amiga joystick extensions >> -~~~~~~~~~~~~~~~~~~~~~~~~~ >> +=============== >> +Amiga joysticks >> +=============== > > I would prefer to keep section adornments in this doc as-is, though. ...and why...? We have a standard progression, why not use it? jon ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting 2025-05-26 12:48 ` Jonathan Corbet @ 2025-05-26 13:56 ` Bagas Sanjaya 0 siblings, 0 replies; 8+ messages in thread From: Bagas Sanjaya @ 2025-05-26 13:56 UTC (permalink / raw) To: Jonathan Corbet, George Anthony Vernon, dmitry.torokhov, skhan Cc: linux-input, linux-doc, linux-kernel, linux-kernel-mentees On 5/26/25 19:48, Jonathan Corbet wrote: > Bagas Sanjaya <bagasdotme@gmail.com> writes: > >> On Mon, May 26, 2025 at 02:14:43AM +0100, George Anthony Vernon wrote: >>> Make small grammar fixes to Amiga joystick documentation. >>> >>> Also make heading adornments compliant with the guidelines to improve >>> organisation of the page. >> >> Split up these two changes into separate patches. > > The word "also" in a changelog is indeed a hint that a patch is doing > too many things. > > For a simple patch like this, though, I would not force a resend just > for that. > Do you mean keeping the patch as-is? >>> -~~~~~~~~~~~~~~~~~~~~~~~~~ >>> -Amiga joystick extensions >>> -~~~~~~~~~~~~~~~~~~~~~~~~~ >>> +=============== >>> +Amiga joysticks >>> +=============== >> >> I would prefer to keep section adornments in this doc as-is, though. > > ...and why...? We have a standard progression, why not use it? > I'm leaning towards following doc-specific convention (i.e. on this doc). I could adapt to it, but some time later when I re-read the source I might be semantically confused. Thanks. -- An old man doll... just what I always wanted! - Clara ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-05-26 13:56 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-05-26 1:14 [PATCH 0/3] Multiple fixes to Amiga joystick documentation George Anthony Vernon 2025-05-26 1:14 ` [PATCH 1/3] input: docs: Fix broken table formatting George Anthony Vernon 2025-05-26 2:34 ` Bagas Sanjaya 2025-05-26 1:14 ` [PATCH 2/3] input: docs: Correct Amiga 4-jstick adapter pinout George Anthony Vernon 2025-05-26 1:14 ` [PATCH 3/3] input: docs: Fix Amiga joysticks grammar & formatting George Anthony Vernon 2025-05-26 2:43 ` Bagas Sanjaya 2025-05-26 12:48 ` Jonathan Corbet 2025-05-26 13:56 ` Bagas Sanjaya
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).