<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mardy (Posts about curiositates)</title><link>http://mardy.it/</link><description></description><atom:link href="http://mardy.it/categories/curiositates.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:info@mardy.it"&gt;Alberto Mardegan&lt;/a&gt; </copyright><lastBuildDate>Sat, 11 Apr 2026 13:53:59 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Teaser: connecting Nintendo Switch controllers to the Wii</title><link>http://mardy.it/blog/2026/04/teaser-connecting-nintendo-switch-controllers-to-the-wii.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;A few months ago I started playing with the Bluetooth controller embedded in
the Nintendo Wii, to see if it was possible to get it to connect to other
devices than just the Wii remotes. If you ask internet forums, you might fall
into the impression that the Wii is not using a standard Bluetooth controller,
or that it has been somehow "crippled" in order to restrict it to connect to
the Wiimotes only, but that's not the case: it's an ordinary controller from
its era, it's just that the Wii software (both the official SDK and the
homebrew libogc) only uses it for the Wiimotes.&lt;/p&gt;
&lt;p&gt;I first started looking into
&lt;a href="https://github.com/devkitPro/libogc/tree/master/lwbt"&gt;&lt;code&gt;lwBT&lt;/code&gt;&lt;/a&gt;, the bluetooth
stack used in libogc, but I quickly realized that it was impossible to get full
control over the controller via this library: it has been adapted to work with
the subset of the HID protocol used by the Wiimotes, and even if you can issue
bluetooth commands to the controller via the HCI layer, you cannot receive the
replies, since they are already intercepted by lwBT and there's no way to hook
into them.&lt;/p&gt;
&lt;p&gt;So I started writing my own little bluetooth stack,
&lt;a href="https://github.com/embedded-game-controller/bt-embedded"&gt;&lt;code&gt;bt-embedded&lt;/code&gt;&lt;/a&gt; which
from the ground up has been designed to be used by embedded devices and
covering the use case of serving different clients running in a single process,
and I've integrated it into
&lt;a href="https://github.com/embedded-game-controller/embedded-game-controller"&gt;&lt;code&gt;embedded-game-controller&lt;/code&gt;&lt;/a&gt;
(though this is not merged into the &lt;code&gt;master&lt;/code&gt; branch yet) in order to allow
connecting to bluetooth controllers. And in the last couple of days I've
written a little ugly program to visualize the controllers in a 3D scene, in
order to better test them:&lt;/p&gt;
&lt;iframe src="https://vkvideo.ru/video_ext.php?oid=-230221529&amp;amp;id=456239018&amp;amp;hash=7f8047b16af7164f&amp;amp;hd=1" width="640" height="360" allow="autoplay; encrypted-media; fullscreen; picture-in-picture; screen-wake-lock;" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;Yes, the 3D model sucks, it was a nice model when I downloaded it from a free
site, but then heavily reduced the number of polygons using Blender and went a
bit too far; I'll do a better model later. The accelerometer information is not
shown yet (I'd like to use it to actually tilt the controller, instead of using
the joystick), but that will not be hard.&lt;/p&gt;
&lt;p&gt;At the moment, the only supported controllers are the Nintendo Switch Pro
controller (I'm using a clone here) and the Joy-cons, so there's still quite
some work to do to add more.&lt;/p&gt;
&lt;p&gt;It's been a journey in which I learned a lot about Bluetooth and USB and, who
knows, maybe this will come handy in the future too.&lt;/p&gt;</description><category>3D</category><category>curiositates</category><category>english</category><category>informatica</category><category>kdeplanet</category><category>Linux</category><category>planetmaemo</category><category>programmation</category><category>video</category><category>Wii</category><guid>http://mardy.it/blog/2026/04/teaser-connecting-nintendo-switch-controllers-to-the-wii.html</guid><pubDate>Sat, 11 Apr 2026 13:13:06 GMT</pubDate></item><item><title>libSDL2 and VVVVVV for the Wii</title><link>http://mardy.it/blog/2024/02/libsdl2-and-vvvvvv-for-the-wii.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;Just a quick update on something that I've been working on in my free time.&lt;/p&gt;
&lt;p&gt;I recently refurbished my old Nintendo Wii, and for some reason I cannot yet
explain (not even to myself) I got into homebrew programming and decided to
port libSDL (the 2.x version -- a 1.x port already existed) to it. The result
of this work is already available via the &lt;a href="https://devkitpro.org/"&gt;devkitPro&lt;/a&gt;
distribution, and although I'm sure there are still many bugs, it's overall
quite usable.&lt;/p&gt;
&lt;p&gt;In order to prove it, I ported the game &lt;a href="https://thelettervsixtim.es/"&gt;VVVVVV&lt;/a&gt;
to the Wii:&lt;/p&gt;
&lt;iframe src="https://vk.com/video_ext.php?oid=7200355&amp;amp;id=456239302&amp;amp;hd=1" width="640" height="360" allow="autoplay; encrypted-media; fullscreen;
picture-in-picture;" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;During the process I had to fix quite a few bugs in my libSDL port and in a
couple of other libraries used by VVVVVV, which will hopefully will make it
easier to port more games. There's still an issue that bothers me, where the
screen resolution seems to be not totally supported by my TV (or is it the HDMI
adaptor's fault?), resulting in a few pixels being cut at the top and at the
bottom of the screen. But unless you are a perfectionist, it's a minor issue.&lt;/p&gt;
&lt;p&gt;In case you have a Wii to spare, or wouldn't mind playing on the Dolphin
emulator, &lt;a href="https://github.com/mardy/VVVVVV/releases/tag/v2.4.1_wii1"&gt;here's the link to the VVVVVV
release&lt;/a&gt;. Have fun! :-)&lt;/p&gt;</description><category>curiositates</category><category>english</category><category>informatica</category><category>Linux</category><category>planetmaemo</category><category>programmation</category><category>Wii</category><guid>http://mardy.it/blog/2024/02/libsdl2-and-vvvvvv-for-the-wii.html</guid><pubDate>Fri, 02 Feb 2024 17:50:44 GMT</pubDate></item><item><title>Pensatas in interlingua - 2019-06-30 - Dracon in le parco</title><link>http://mardy.it/blog/2019/06/pensatas-in-interlingua-2019-06-30-dracon-in-le-parco.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;center&gt;
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/AYe6wGRh_Gk?rel=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/center&gt;

&lt;p&gt;Quando vos imagina un cosa que ha nulle senso, e vos es secur que iste cosa non
pote exister in ulle parte del mundo, il ha un bon probabilitate de trovar lo
in Russia.&lt;/p&gt;</description><category>arte</category><category>curiositates</category><category>interlingua</category><category>Russia</category><category>Sancte Petroburgo</category><category>video</category><guid>http://mardy.it/blog/2019/06/pensatas-in-interlingua-2019-06-30-dracon-in-le-parco.html</guid><pubDate>Sun, 30 Jun 2019 16:14:43 GMT</pubDate></item><item><title>Incontros in le metro</title><link>http://mardy.it/blog/2016/06/incontros-in-le-metro.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
In le scalas del metro de Sancte Petroburgo.&lt;br&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://mardy.it/archivos/imagines/blog/6e7f3dcf0c052c90cb6b4bce275676d7-222810702_55964.jpeg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="240" src="http://mardy.it/archivos/imagines/blog/2365ed75cf9694df1e8eefe623cfb863-222810702_55964.jpeg" width="320"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Un adorabile furetto!&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br&gt;&lt;/div&gt;</description><category>animales</category><category>curiositates</category><category>interlingua</category><category>Russia</category><category>Sancte Petroburgo</category><guid>http://mardy.it/blog/2016/06/incontros-in-le-metro.html</guid><pubDate>Sun, 05 Jun 2016 04:19:00 GMT</pubDate></item><item><title>Le reporto de Transparency International</title><link>http://mardy.it/blog/2008/09/25/le-reporto-de-transparency-international.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;div style="float:right; margin-left:1em"&gt;&lt;img src="http://www.mardy.it/archivos/imagines/cpi_2008_420.gif"&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://www.transparency.org"&gt;Transparency Internation&lt;/a&gt; ha publicate le tabula del “Indice de Perception de Corruction” (CPI, in anglese &lt;i&gt;Corruption Perception Index&lt;/i&gt;), que mesura le grado de corruption del officieros e del politicos, derivate per un quantitate de fontes differente.&lt;/p&gt;
&lt;p&gt;Iste anno, le situation de Finlandia e Italia se ha pejorate; Finlandia ha passate del prime placia que illo teneva in le 2007, a un misere e vergoniose quinte position, durante que Italia ha precipitate del 41me al 55me placia, que es comocunque un position dignitose pro un pais como le nostre.&lt;/p&gt;&lt;p&gt;
Secundo le studio, paises como Botswana, Oman, Bahrain e Bhutan, que io vos defia a locar exactemente in un mappa geographic sin nomines, es minus corrupte que Italia; ma iste studio es obviemente non veritabile, perque illo es in total contrasto con le facto que nulle citatano italian cognosce alicun persona que ha essite effectivemente in prison a causa de corruption!&lt;/p&gt;
&lt;p style="margin-top:1em"&gt;Ma pro le credulones, ecce le tabulas pro le &lt;a href="http://www.transparency.org/policy_research/surveys_indices/cpi/2007"&gt;2007&lt;/a&gt; e pro le &lt;a href="http://www.transparency.org/news_room/in_focus/2008/cpi2008/cpi_2008_table"&gt;2008&lt;/a&gt;&lt;/p&gt;</description><category>curiositates</category><category>Finlandia</category><category>Italia</category><category>politica</category><guid>http://mardy.it/blog/2008/09/25/le-reporto-de-transparency-international.html</guid><pubDate>Wed, 24 Sep 2008 20:00:00 GMT</pubDate></item><item><title>Poste Italiane: servicio de fama international</title><link>http://mardy.it/blog/2008/08/23/poste-italiane-servicio-de-fama-international.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;Iste vespere io curiosava in Ebay, inter le multitude de offertas de objectivos photographic, sin un particular idea. Mi interesse esseva captivate per alicun lentes Zenitar, in quanto &lt;em&gt;Made in Russia&lt;/em&gt;, e immediatemente io cliccava pro satisfacer mi curiositate e vider le detalios del offerta. Le venditor es un boteca electronic de Moskva, e quasi tote le material que illes ha es manufacite in Russia. Ma io sape que vos non es interessate in isto. Le ration pro le qual iste offerta es tanto interessante pro me (e le ration pro le qual io scribe iste lineas in loco de vader a dormir) es un nota in grande characteres rubie que es presente in tote le insertiones de iste venditor:&lt;/p&gt;
&lt;div style="margin: 0pt auto; padding: 0.5em; text-align: center;"&gt;&lt;img src="http://www.mardy.it/archivos/imagines/banner_top_english.jpg"&gt;&lt;/div&gt;
&lt;p&gt;Sin emphatisar le errores grammatical del nota, io lo traduce pro illes qui non comprende anglese: “&lt;i&gt;Attention! &lt;b&gt;Nos non face expeditiones a Italia.&lt;/b&gt; Il ha grande retardos e multe paccos ha essite perdite. Tote le compras per compratores italian essera cancellate. Nos spera que vos comprendara&lt;/i&gt;”. Io memora que ante alicun tempore io trovava annuncios simile in Ebay, ubi on diceva que on non expediva a Italia e China. Ma ora, nos ha remanite sol. &lt;b&gt;Le sol pais in le mundo al qual le russos non invia paccos es Italia&lt;/b&gt;, perque nostre servicio postal non es considerate efficiente e digne de confidentia. Isto pote apparer sensational pro illes qui non ha vivite in Italia; ma pro nos, ubi es le surprisa?&lt;/p&gt;</description><category>actualitate</category><category>curiositates</category><category>Italia</category><guid>http://mardy.it/blog/2008/08/23/poste-italiane-servicio-de-fama-international.html</guid><pubDate>Fri, 22 Aug 2008 20:00:00 GMT</pubDate></item><item><title>Miraculos del evolution</title><link>http://mardy.it/blog/2008/03/26/miraculos-del-evolution.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;Reguarda iste photographia con attention:
&lt;img src="http://www.mardy.it/archivos/imagines/cebus.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; display: block;"&gt;
Illo es un &lt;i&gt;Cebus capucinus&lt;/i&gt;, o &lt;a href="http://en.wikipedia.org/wiki/White-headed_Capuchin"&gt;“capucino del capite blanc”&lt;/a&gt;, un simia que habita in le forestas del America del sud. Perque io es interessate in iste animal? Le responsa es in mi jardin (le catto rubie es mi adorate Pastiglio):
&lt;a href="http://www.mardy.it/galleria/d/3170-1/dsc00391.jpg"&gt;&lt;img src="http://www.mardy.it/galleria/d/3172-2/dsc00391.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; width: 400px; display: block;"&gt;&lt;/a&gt;
Vamos aggrandir le photo del ospite...
&lt;a href="http://www.mardy.it/archivos/imagines/CattoSimia.jpg"&gt;&lt;img src="http://www.mardy.it/archivos/imagines/CattoSimia.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; width: 200px; display: block;"&gt;&lt;/a&gt;
Ah!!! Le &lt;b&gt;catto-simia&lt;/b&gt;!!!&lt;/p&gt;
&lt;p&gt;Illes qui vole vider mi jardin, con Pastiglio e le catto-simia, es benvenite &lt;a href="http://www.mardy.it/galleria/v/Italia/jardin01/"&gt;in le galleria&lt;/a&gt;.&lt;/p&gt;</description><category>curiositates</category><category>natura</category><category>paese</category><guid>http://mardy.it/blog/2008/03/26/miraculos-del-evolution.html</guid><pubDate>Tue, 25 Mar 2008 21:00:00 GMT</pubDate></item><item><title>Le calide sol de mediedie</title><link>http://mardy.it/blog/2007/12/20/le-calide-sol-de-mediedie.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;Dominica io me trovava in le placia del mercato, &lt;i&gt;kauppatori&lt;/i&gt; (del qual on pote vider &lt;a href="http://www.virtualhelsinki.net/helsinkipanoraama/kauppatori.html"&gt;un animation panoramica a 360 grados&lt;/a&gt;), e post que il esseva un bellissime die de sol, io prendeva un photo pro capturar le sensation.
&lt;a href="http://www.mardy.it/archivos/active/0/1154_large.jpg"&gt;&lt;img src="http://www.mardy.it/archivos/active/0/1154_small.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; display: block;"&gt;&lt;/a&gt;
Lo que forsan non es evidente, es que le sol esseva quasi perfectemente a sud: le hora esseva 13:46.&lt;/p&gt;</description><category>curiositates</category><category>Helsinki</category><guid>http://mardy.it/blog/2007/12/20/le-calide-sol-de-mediedie.html</guid><pubDate>Wed, 19 Dec 2007 21:00:00 GMT</pubDate></item><item><title>Augurios de bon Natal</title><link>http://mardy.it/blog/2007/12/14/augurios-de-bon-natal.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;Iste matino io ha recepite un carta postal de augurios de bon Natal, totalmente inexpectate.
&lt;img src="http://www.mardy.it/archivos/imagines/cartolina1.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; display: block;" width="400"&gt;
Gratias! Ma... qui es le author?
&lt;img src="http://www.mardy.it/archivos/imagines/cartolina2.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; display: block;" width="600"&gt;
Oh! Illes es mi amicos de &lt;a href="http://www.k-rauta.com"&gt;K-RAUTA&lt;/a&gt;, un negotio de equipamentos pro le casa, que io ha sovente visitate durante iste estate, quando io renovava mi appartamento. Io lo visitava tanto frequentemente, que mi amicos burlava in dicer que tote le personal de K-rauta me cognosceva personalmente. Mmmm... que dicera illes post saper de iste carta postal?&lt;/p&gt;</description><category>curiositates</category><category>Helsinki</category><guid>http://mardy.it/blog/2007/12/14/augurios-de-bon-natal.html</guid><pubDate>Thu, 13 Dec 2007 21:00:00 GMT</pubDate></item><item><title>Un information sportive</title><link>http://mardy.it/blog/2007/11/19/un-information-sportive.html</link><dc:creator>Alberto Mardegan</dc:creator><description>&lt;p&gt;Un bon parte del italianos qui io cognosce a Helsinki es amicos incontrate in partitas de &lt;i&gt;calcetto&lt;/i&gt; (io non cognosce le vocabulo anglese, ma io intende le partitas de football que on joca con 5-6 jocatores pro equipa — mini football?); quasi omne sabbato postmeridie nos va jocar un partita. Purmente amical, sin agonismo e tension. Io es un pexime jocator, ma nonobstante isto io ama iste sport e io cerca de non mancar ulle incontro.&lt;/p&gt;
&lt;p&gt;Durante le hiberno nos joca in un sala coperite, pro evitar le risco de congelamento. ;-) Le sala es optime pro nos, e offere duchas e sauna. Toto ha sempre essite perfecte.&lt;/p&gt;
&lt;p&gt;Le ultime sabbato nos debeva interrumper le incontro pro alicun minutos, durante le quales tote nos teneva lor oculos a reguardar le tecto del sala:
&lt;img src="http://www.mardy.it/archivos/active/0/1073_small.jpg" style="padding: 0.5em; margin-left: auto; margin-right: auto; display: block;" width="300"&gt;
Le palla esseva bloccate inter le cavos que rege le lampas!&lt;/p&gt;
&lt;center&gt;&lt;div style="margin-left: auto; margin-right: auto;display:block;"&gt;&lt;img src="http://www.mardy.it/archivos/active/0/1072_small.jpg" style="padding: 0.5em; vertical-align:top" width="300"&gt;&lt;img src="http://www.mardy.it/archivos/imagines/detalio_palla.jpg" style="padding: 0.5em; vertical-align:top"&gt;&lt;/div&gt;&lt;/center&gt;
&lt;p&gt;Pro le cronaca, nos continuava le partita con un altere palla, perque nos non succedeva in recuperar le nostre.&lt;/p&gt;</description><category>amicos</category><category>curiositates</category><category>Helsinki</category><guid>http://mardy.it/blog/2007/11/19/un-information-sportive.html</guid><pubDate>Sun, 18 Nov 2007 21:00:00 GMT</pubDate></item></channel></rss>