Difference between revisions of "DirectFB"

From WebOS Internals
Jump to navigation Jump to search
m (→‎Setting up DirectFB in Debian: -- This edit is necessary for propper color emulation in gnuboy.)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
cat > /etc/directfbrc
 
cat > /etc/directfbrc
 
mode=320x480
 
mode=320x480
depth=16
+
pixelformat=ARGB
pixelformat=RGB16
 
 
no-vt
 
no-vt
 
no-cursor
 
no-cursor

Latest revision as of 07:19, 30 November 2009

Setting up DirectFB in Debian

1. Get into your Debian chroot: <source lang="bash"> apt-get install -y libdirectfb-1.0-0 libdirectfb-bin libdirectfb-extra cat > /etc/directfbrc mode=320x480 pixelformat=ARGB no-vt no-cursor bg-color=00000000 hardware

  1. Uncomment below line for the keyboard to work under DFBTerm - http://ur1.ca/5yry
  2. Should just make this default after testing to make sure it doesn't harm the DFB games...
  3. You can also do "dfbterm --size=50x30 --dfb:no-linux-input-grab" instead of putting it here.
  4. no-linux-input-grab
  1. Press Ctrl+D.

</source>

Credit: Palm TED MFT scripts.