Mostrando postagens com marcador fun. Mostrar todas as postagens
Mostrando postagens com marcador fun. Mostrar todas as postagens

terça-feira, 9 de agosto de 2011

Enjoy old SNES games on your Xoom using PS3 controller

(image from eu, android)

Yes, that exactly what you read. Now you can play SNES games on your Motorola Xoom using your PS3 controller over bluetooth. Also, this tutorial is an adaptation from an article at Eu, Android and it's intended to be used on Ubuntu only, if you need to use the other OS, please check the original. The Linux specific information is from a cached ubuntu wiki, so I'll copy & paste the relevant part here in case it expire in the future. Right, so cut the crap and let's play! :-)


Needless to say, you must have proper root access on your device - details for brazilians here.

  1. Install Sixaxis Compatibility Checker, open the application, give root permissions and then a popup message will be shown telling you if your device is supported or not (hopefully yes).

  2. Install required libs:
    $ sudo apt-get install libusb-dev libusb-0.1-4

  3. Download sixpair.c (original also hosted at the ubuntu wiki, I did a copy on my github)

  4. Compile it:
    $ gcc -o sixpair sixpair.c -lusb

    Before running sixpair, you'll need the bluetooth mac addr of your Xoom. The easy way to get it is installing Sixaxis Controller - don't worry, you'll need the app anyway to use the controller. The app will display a message "Local Bluetooth Adderss" with the bluetooth mac addr you'll need.

  5. Run sixpair with the Motorola Xoom bluetooth mac addrs you just got as a parameter:
    $ ./sixpair 41:f4:89:6d:41:73

  6. Open the Sixaxis Controller and follow the onscreen instructions - important note: You'll might need to reboot your Xoom to make it work (I had to)
 NOW I WANNA PLAY!
easy... almost there

Install a neat SNES emulator, I choosed Snes9x EX. Now you have to configure your controller to map the keys the emulator uses: Go to Sixaxis Controller -> Menu -> Preferences -> Input Mapping -> 1st Controller mappings. Since I am using Snes9x EX, I set my mapping like this:
  • square: A
  • triangle: S
  • circle: X
  • cross: Z
  • left: Q
  • right: W
  • select: SPACE
  • start: ENTER
  • power: HOME
This way, for example, Snes9x EX will understand that when you press square you're actually pressing A which means the Y button on a normal SNES controller. Yes, I know, confusing as hell, but works.

Now go and have fun :-D

terça-feira, 16 de março de 2010

otubo no Yahoo! Open Hack Day Brasil 2010

Este final de semana, 20 e 21 de março, vou participar do Yahoo! Open Hack Day. E neste eu nunca fui. O que já me agradou de primeira é o nome combinar direitinho com o clima do evento. Hack no sentido de pegar um projeto existente (ou algum que seja pensado na hora) e programar. Simples assim. Hackear o final de semana inteiro ao redor dele.


Sim, eventualmente haverão palestras e ... AH! WHO CARES? Palestra a gente baixa ou vê no youtube, juntar computeiros pessoalmente pra trocar idéias e programar não.

Nos vemos lá?
Happy hacking!

domingo, 28 de setembro de 2008

Imagem trash da semana

Fui à casa de mamãe esse final de semana. Almoço de família, namorada voltando pro Rio e precisávamos imprimir o check-in. Estavamos meio em cima da hora e instalar a véia HP de guerra no Ubuntu ia ser dureza. Não deu outra...

segunda-feira, 21 de janeiro de 2008

Compiler Complaint

Aviso: Esta postagem é ao mesmo tempo engraçada e enche-linguiça. Estou sem tempo para escrever algo relevante esta semana devido à formatura / outras tarefas paralelas. Ah, sim, as fotos da minha formatura estarão no Flckr muito em breve.


quarta-feira, 22 de agosto de 2007

What color is your brain

Na sequência do "quiz engraçado da vez", achei esse no blog da Sulamita. Quase engraçado mas interessante.


Your Brain is Orange


Of all the brain types, yours is the quickest.

You are usually thinking a mile a minute, and you could be thinking
about anything at all.

Your thoughts are often scattered and random - but they're also a lot
of fun!

You tend to spend a lot of time thinking about esoteric subjects, the
meaning of life, and pop culture.

sexta-feira, 13 de julho de 2007

Eu definitivamente odeio LISP!

Nesse quiz, você vê com qual lingagem de programação você mais se parece. E para o meu espanto, me pareço com a que mais odeio: LISP! Isso por que eu falei dela (e do maldito emacs) ontem a noite pro cara que mora comigo. Aff :-\


You are Lisp.  Very few people like you (Probably because you use too many parenthesis (You better stop it (Reallly)))
Which Programming Language are You?



(ps: O acrônimo LISP significa, entre outras coisas, Linguagem Infernal Só Parênteses)

quarta-feira, 27 de junho de 2007

Análise profunda sobre a produtividade na internet

Fellowship,

Mais uma daquelas justificativas, né? "Quando o semestre terminar eu escrevo coisas mais úteis e posto menos besteira". Mas até agora ainda não consigo prever o fim do semestre. Greve, paralisação e a UNESP lá. Provas, seminários, entregas...Tudo procrastinado. Pra quando? Xis.

Bom, enquanto isso vou postando porcarias né. Essa nem é tão ruim. :-)

sexta-feira, 1 de junho de 2007

domingo, 15 de abril de 2007

Which Superhero are you?

Espantosamente eu sou parecido com meu super-herói favorito. With great power, comes great responsability... :-)

--

Your results:
You are Spider-Man
Spider-Man
80%
Superman
70%
The Flash
70%
Catwoman
65%
Green Lantern
65%
Iron Man
65%
Robin
55%
Supergirl
50%
Batman
35%
Wonder Woman
30%
Hulk
20%
You are intelligent, witty,
a bit geeky and have great
power and responsibility.
Click here to take the "Which Superhero are you?" quiz...