From 9ee7c284e63fc419f70ffc3c53eb23590767ee08 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Sun, 7 Apr 2013 16:02:10 +1000 Subject: Add GINPUT Dial, simplify GWIN input assignment Added GINPUT Dial support and a driver that uses GADC to read the dial. Added support for Dial inputs to the GWIN slider. Updated the slider demo for Dial Inputs. Simplified the assigning of inputs to GWIN "widgets" button and slider. Updated the demo's to match the new input to button assignment. --- drivers/ginput/dial/GADC/readme.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 drivers/ginput/dial/GADC/readme.txt (limited to 'drivers/ginput/dial/GADC/readme.txt') diff --git a/drivers/ginput/dial/GADC/readme.txt b/drivers/ginput/dial/GADC/readme.txt new file mode 100644 index 00000000..5c303870 --- /dev/null +++ b/drivers/ginput/dial/GADC/readme.txt @@ -0,0 +1,16 @@ +To use this driver: + +1. Add in your halconf.h: + a) #define GFX_USE_GINPUT TRUE + #define GINPUT_NEED_DIAL TRUE + #define GINPUT_NEED_GADC TRUE + d) If you are not using a known board then create a ginput_lld_toggle_board.h file + and ensure it is on your include path. + Use the ginput_lld_dial_board_example.h file as a basis. + Currently known boards are: + Olimex SAM7-EX256 + +2. To your makefile add the following lines: + include $(GFXLIB)/drivers/ginput/dial/GADC/ginput_lld.mk + include $(GFXLIB)/drivers/gadc/yourGADCdriver/gadc_lld.mk + \ No newline at end of file -- cgit v1.2.3