it's been a while since i did this, so i don't remember all small details.. i was using libusb to communicate with the g13, i could set and clear individual pixels on the lcd, change the rgb backlit color, and read the various keypresses and joystick position.. then i converted the keys and joystick pos to midi signals, which i sent out of my little program using alsa..
i can try to dig up the source code again, but it's been a while, and i don't know what state it is in.. also, it's very linux specific..
Quote:
Originally Posted by DrFrankencopter
1) How did you get the red backlight? Is that a mod you did, or an off the shelf version?
|
it's just sending a few bytes (via libusb) to the g13, representing the rgb color, and boom!, the color changes :-)
Quote:
Originally Posted by DrFrankencopter
2) How did you get it working in Linux? I only found a Windows library/SDK
|
i used libusb to communicate with the g13 directly.. quite low level.. but i had to do a lot of 'hacking' and investigation to find out what the g13 sent out, and what i could make it do.. i found some already existing hacks and source code which i based my experiments on..
Quote:
Originally Posted by DrFrankencopter
3) What are you showing with those blocks in the display?
|
the bitwig logo :-) mostly fo testing the screen writing functions.. i planned to have it show the cliplauncher in bitwig, but i didn't get that far, before something else catched my interest instead, hehe..
Quote:
Originally Posted by DrFrankencopter
And finally, isn't it fun (not) to have to push every pixel up to the display manually (no drawing frameworks)?
|
well, fun, heh.. that's often just how it is with all this weird low level stuff.. not really fun, but as soon as you make a few helper function, like putpixel(x,y), or something, it isn't too bad.. and you can just start making other, higher level stuff with that..