Hi! > So, IMHO, entities should be described as: > > [entity entity1] > name = foo > function = bar I don't really think windows-style config file is suitable here, as we have more than two "nested blocks". What about something like this? Note that I'd only implement the controls mapping for now... but it should be extensible later to setup mappings for the application. Best regards, Pavel #modes: 2 Driver name: OMAP 3 resizer Mode: 3000x1800 #devices: 2 0: et8ek8 sensor 1: OMAP3 resizer #controls: 2 0x4321a034: 1 0x4113aab0: 1 #links: 1 link: entity1: et8ek8 sensor:1 entity2: OMAP3 resizer:0 resolution1: 1024x768 resolution2: 1024x768 Mode: 1024x768 #devices: 2 0: et8ek8 sensor 1: OMAP3 resizer #controls: 2 0x4321a034: 1 0x4113aab0: 1 #links: 1 link: entity1: et8ek8 sensor:1 entity2: OMAP3 resizer:0 resolution1: 1024x768 resolution2: 1024x768 -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature