diff options
-rw-r--r-- | data/generic.png | bin | 0 -> 536935 bytes | |||
-rw-r--r-- | data/generic.xml | 38 | ||||
-rw-r--r-- | data/generic_btn_down.png | bin | 0 -> 2916 bytes |
3 files changed, 38 insertions, 0 deletions
diff --git a/data/generic.png b/data/generic.png Binary files differnew file mode 100644 index 0000000..d24fad9 --- /dev/null +++ b/data/generic.png diff --git a/data/generic.xml b/data/generic.xml new file mode 100644 index 0000000..53490fb --- /dev/null +++ b/data/generic.xml @@ -0,0 +1,38 @@ +<generic> + +<!-- + Example config 'device' file for a generic device. + The format should be self-explanatory. +--> + +<!-- + first define the window size, image and display geometry for your + 'fake' device. +--> + +<device width='700' height='469' + display_width='560' display_height='335' + display_x='71' display_y='42' + img='generic.png' /> + +<!-- Buttons ( optional ) + Th define each of the buttons. Note, there are a couple of extra + optional attributes not used here; + + - 'img' - set to an image pathname for the down state of the button + + - repeat = 'on|off' , Turn key repeat on/off for that key. By default + key repeat is on. + --> + +<button x='89' y='419' width='49' height='24' key='a' img='generic_btn_down.png'/> + +<button x='253' y='425' width='98' height='30' key='b'/> + +<button x='352' y='425' width='98' height='30' key='c'/> + +<button x='549' y='421' width='36' height='17' key='d'/> + +<button x='613' y='421' width='36' height='17' key='e'/> + +</generic> diff --git a/data/generic_btn_down.png b/data/generic_btn_down.png Binary files differnew file mode 100644 index 0000000..2029664 --- /dev/null +++ b/data/generic_btn_down.png |