intanto.org logo

Ars est celare artem.

Technology or magic?

Mon, 28 Jul 2008

Linux input driver in userspace

Have you ever thoght about patching an input driver (keyboard, mouse, joypad, ...)?

The answer is uinput and evdev.

The first one is a dummy device being created in /dev/input/uinput that allow you to create a totally new input device with whathever control you want. E.g if you want to have a mouse controlled from a socket or from bluetooth you can! That device will be identical to any other "common" input device.

The other interesting device is event device. Every input device has it's own event device in /dev/input. This allow you to catch those event and make anything you want.

here there's an example.

And here a collection of related links.

Mon, 21 Jul 2008

First post from the metaweblog interface

Let's hope it's working as it is :)

Fri, 18 Jul 2008

Pyblosxom

I patched genericwiki plugin to let me use lists as in moinmoin syntax. It's just a raw but working version, maybe I'll correct it one day. And It's my first contact with regular expressions in python, please don't blame me! :)

download it here!

blosxom an python
I'm still fighting with comment system... now it lacks just some graphical candies :)
Communities and nice people

I love free software and hackers communities... So please take a look at those smart guys(not in a particular order):

Groups:

  • piksel.no community or a mixture of artists, coders and hackers from norway

Friends:

Thu, 03 Jul 2008

Guestbook
Your comments and experiences with me and/or my site are welcome here.
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!