• What is the CD-i?
    • CD-i Players
    • CD-i Accessories
  • Open Source
    • Hardware Development
    • Hardware Repair
    • CD-i Title Development
    • CD-izi Authoring Tool
  • Downloads
  • CD-i Emulation
    • CD-i emulator 0.5.3 beta 5 – Titles compatibilities
  • Chronicles
  • High Scores
  • Forum
  • My Account
    • Login/Logout
    • Messages
  • Contact us
    • Website’s History
  • Register
The World of CD-i

USB 2 CD-i Controller Library

Posted on 04/01/2021 by omegalfa

Our website member TwBurn just smashed our forum with this great news!
He did managed to use a Wii U and a Switch pro controller to play some CD-i games.
This is still very soon to call it victory, but he made it. The first step as been done, and he can be proud of it!
Using an Arduino PCB known to be very versatile and compatible with almost everything, he created an Arduino Library that support 4 different modes.

His work is available on our Open-Source section.

On our forum, he says:

I’ve created an Arduino Library which can be used to emulate a CD-i controller. Currently it supports four different modes (Relative, Maneuvering, Absolute Coordinate and Absolute Screen). I’m hoping to also add Keyboard support once I can find some documentation on the subject.

I’ve been using this library together with a USB Host Shield to connect some modern controllers (in my case a Wii U and Switch Pro controller) to the CD-i with acceptable to good results, depending on the title used. I’ve included these as examples in the library.

The library can be found on: https://github.com/TwBurn/cdi-controller-library

For future updates I hope to include some more examples (like an USB mouse, keyboard), workout some issues, as well as moving my hardware beyond a prototyping phase so I don’t have random wires running over my desk.

Thank you TwBurn!
Your work will help so many people…


Posted in Open-Source | 2 Comments
« New Additions – December 2020
New Addition – Schöner Fernsehen – Meeresbrandung »

2 thoughts on “USB 2 CD-i Controller Library”

  1. lovecatts says:
    07/11/2022 at 15:09

    Hi Guys,
    I am trying to create an interface for a 2 button joystick for a CDi 470/05. There a number of questions I have regarding the requirements of the CDi. I would appreciate it if anyone can answer them. I have started with some example software and looked at some arduino code to see any differences to my code. First question is does the pointing device ID have to be continuously sent? if not must it always be the first byte of a packet or only sent once at startup?
    There has been much spoken about the baud rate, I am sending all data idle low with data bits 0 sent as a high and 1’s as a low which I believe is the spec. I am handshaking with the RTS line on pin7 and sending on pin 2 of the front connector of the CDi unit. However, checking the data on an oscilloscope, The RTS never stays high long enough for complete packet at 1200 baud. On 9600 baud it’s OK and always gets the full packet including a device ID if sent. The CDi appears to turn its nose up at the data at the lower baud rate and falls low at the start of the last byte. Any button pressing is not present either when monitoring the packet data. Unlike the 9600baud when all the data is present. I understand the CDi can monitor the incoming data and choose to work at either baud rate with a preference for 1200 baud. I have not seen, during the testing of the project, any response whatsoever from the CDi. Data is clearly present when the joystick is moved and buttons pressed, at least on the higher baud rate. Any help would be appreciated, Thanks Guys. Chris

    Log in to Reply
    • omegalfa says:
      07/11/2022 at 15:38

      Hey @lovecatts! We are really happy to have you here!
      Having a person interested into CD-i development is always amazing!

      Many people here can help you. Ask:
      @TwBurn
      @cdifan

      You can also visit our forum, and for a perfect online help, join us on Discord:

      https://discord.gg/TKPejTfw6D

      You will find tons of information at the “homebrew and dev” section.

      good luck!

      Log in to Reply

Leave a comment Cancel reply

You must be logged in to post a comment.

CD-i titles

  • [01] Games (144)
  • [02] Kids (82)
  • [03] Multimedia (275)
  • [04] School 2000 (8)
  • [05] Homebrew (7)
  • [06] Music (31)
  • [07] Karaoke (197)
  • [08] CD+Graphics (24)
  • [09] Photo-CD (41)
  • [10] Digital Video on CD-i Movies (21)
  • [11] Digital Video on CD-i Music (14)
  • [12] Video-CD Movies (127)
  • [13] Video-CD Music (17)
  • [14] Video-CD Others (39)
  • [15] Video-CD Sampler / Demo (6)
  • [16] Web-i / CD-Online (5)
  • [17] Internal Use (1)
  • [18] Professional (98)
  • [19] Promotional (16)
  • [20] Demonstration Only (52)
  • [21] Free Demo Discs (19)
  • [22] Tutorial discs (2)
  • [23] Testing Discs (86)
  • [24] Unreleased (46)

More…

  • Catalogue #6900000-0 (USA) (223)
  • Catalogue #69900000-0 (Europe from USA) (24)
  • Catalogue #8100000 (Europe) (156)
  • Catalogue #8110000 (United Kingdom) (101)
  • Catalogue #8120000 (France) (179)
  • Catalogue #8130000 (Germany) (123)
  • Catalogue #8140000 (Netherlands) (200)
  • Catalogue #8150000 (Italy) (57)
  • Catalogue #8160000 (Iberica) (44)
  • Catalogue #8170000 (Scandinavia) (8)
  • Catalogue #8180000 (Belgium) (29)
  • Catalogue #8190000 (Worldwide) (46)
  • Catalogue #PCIM/X-00000 (Japan) (27)
  • Catalogue PC/MAC (17)
  • CD-i Bridge (21)
  • CD-i Ready (40)
  • Exclusive Regional titles (398)
  • Interviews (3)
  • Reviews (24)
  • Tips & Tricks (23)
  • USA Release (43)

Search titles

Guess the picture!

Guess pic!

Recent forum topics

by omegalfa 1st Basque Country CD-i Philips Tournament 2023 Last Saturd … Read More1 week ago
by omegalfa 1st Basque Country CD-i Philips Tournament 2023 Last Saturd … Read More1 week ago
High Scores competition - Tetris®by omegalfaLike I said a few weeks ago, a competition with your High Scores i … Read More3 weeks ago
Hight Scores competition - Tetris …by omegalfaLike I said a few weeks ago, a competition with your High Scores i … Read More3 weeks ago
1st Basque Country CD-i Tournamen …by omegalfa A few weeks ago I have been contacted by Egoitz Gonzalez, a Span … Read More1 month ago

CyberChimps WordPress Themes

© The world of CD-i [Please add credits to us when using any content from this site]