2011/9/14 Francesco De Vita <fdvj...@vodafone.it>:
> Hi!
> I found a workaround to use apps under qx and in a usable landscape mode.
> You have to make a simple script but:
> - you have to launch it within xterm with matchbox (+ virtual keyboard);
> - the screen flickers a little (very little, it is usable), I think I have
> to set a proper screen refresh rate but I didn't manage to get it yet;
>
> example:
>
>> #!/bin/sh
>> killall matchbox-keyboard
>> xrandr -o 1
>> xinput set-int-prop "Touchscreen" "Evdev Axis Inversion" 8 0 1
>> xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 0
>> xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 98 911 918
>> 107
>>
>> YOUR_APP_HERE
>>
>> xrandr -o normal
>> xinput set-int-prop "Touchscreen" "Evdev Axis Inversion" 8 0 0
>> xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1
>> xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911
>> 98
>
> change YOUR_APP_HERE with for example:
> openttd
> numptyphysics -geometry 640x480
> scummvm

You can have a generic wrapper if you replace YOUR_APP_HERE with (I think):
"$@"


-- 
Guilhem BONNEFILLE
-=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
-=- mailto:guilhem.bonnefi...@gmail.com
-=- http://nathguil.free.fr/

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to