Commit Graph

685 Commits

Author SHA1 Message Date
ergosys
d3b3020a07 use gdispColor2Native to get fill color 2014-12-13 15:09:37 -08:00
ergosys
9618d7917b Partially handle screen rotation using remapping
Use row and column remapping to change either row or column addressing
for each orientation.  This removes the need to reverse the drawing
direction of either x or y in the drawing routines.  However in the 90
and 270 case x and y must still be swapped.

Also, rename the SSD1306 remapping command names so they are more
descriptive.
2014-12-13 15:09:37 -08:00
ergosys
bdfafbcf9f slightly faster flush and clear 2014-12-12 16:21:09 -08:00
ergosys
3b12678e6e add hardware clear 2014-12-12 16:21:08 -08:00
ergosys
96a5f5fbea fix GDISP_ROTATE_270 case 2014-12-12 16:21:08 -08:00
ergosys
a43a9b25f6 add missing bus acquisition 2014-12-12 16:21:08 -08:00
inmarket
599a163181 Spacing, comments and spelling mistakes 2014-11-15 15:19:46 +10:00
inmarket
0d90611c82 SSD1963 driver updates originally by steved 2014-11-15 15:17:28 +10:00
Joel Bodenmann
4f8b30ef36 Fixing MAX11802 driver (by user steved) 2014-11-14 16:38:40 +01:00
inmarket
04334f284c Some MAX11802 fixes. 2014-11-10 14:42:07 +10:00
inmarket
bc75dbc24c MCU touch template fix 2014-11-10 14:41:27 +10:00
inmarket
00de925523 Update default settings in the board file for the ADS7843 touch 2014-11-10 14:40:47 +10:00
inmarket
069c791fc1 Update to MAX11802 touch driver. To be tested. 2014-11-10 13:54:19 +10:00
Joel Bodenmann
f65b189673 Added MAX11802 driver - NOT WORKING YET - read_xyz() not ported yet 2014-11-09 21:55:15 +01:00
inmarket
baebbad623 Fix GDISP_NEED_CONTROL for the STM32F429i-Discovery board. 2014-11-07 13:06:02 +10:00
inmarket
2a1c7785cc Fix the newmouse STMPE811 driver.
Finalise the STM32F429i-Discovery board file for that touch controller
2014-11-07 12:05:23 +10:00
inmarket
d0f8c12a2d Cleanups and updates to the STM32F429i-Discovery gdisp driver 2014-11-07 12:04:03 +10:00
inmarket
bd041926b4 Allow a mouse driver to not return any results when it is polled. 2014-11-07 12:02:41 +10:00
inmarket
b6d183832e STM32F429i-Discovery board is now a supported board with an example project.
New gdisp driver (currently non-accelerated)
Mouse and other drivers still to come.
The board file is currently ChibiOS specific however the gdisp driver is suitable for any OS.
2014-11-05 19:32:47 +10:00
Joel Bodenmann
804fcc7c6a small fix 2014-10-28 10:06:24 +01:00
inmarket
0129ba3dfe Bug fix newmouse SMTPE811 touch driver 2014-10-28 11:11:58 +10:00
Joel Bodenmann
ccf2323335 Merge branch 'master' into newmouse 2014-10-26 15:21:43 +01:00
Joel Bodenmann
3356b5a544 Fixing wrong driver name 2014-10-26 15:18:03 +01:00
Joel Bodenmann
6343a2e844 STMPE811 fixes - still not working 2014-10-13 23:12:18 +02:00
Joel Bodenmann
d6b4af4ff6 Fixing STMPE811 driver 2014-10-13 23:01:01 +02:00
inmarket
7c9e3e5a42 Port SMTPE811 mouse driver to newmouse (and supported boards) 2014-10-13 17:44:15 +10:00
inmarket
39c4d3207c Remove unnecessary file 2014-10-13 17:43:37 +10:00
inmarket
65a165f1e0 Update newmouse driver makefiles 2014-10-13 17:42:43 +10:00
inmarket
b7baee596b Convert FT5x06 mouse driver to newmouse (untested) 2014-10-13 16:37:48 +10:00
inmarket
cf3b8e4ed2 Add GMouse parameter to ADS7843 mouse driver to enable multiple drivers.
Tidy up naming.
2014-10-13 16:37:04 +10:00
inmarket
eb0cc21872 Tidy up MCU mouse defines 2014-10-13 16:35:57 +10:00
Joel Bodenmann
dc1ff7afa8 fixing ADS7843 driver - tested 2014-10-11 23:54:50 +02:00
Joel Bodenmann
5b897baae7 Added missing defines to board template of ADS7843 2014-10-11 17:45:53 +02:00
Joel Bodenmann
d9f93a31bb ADS7843 porting - not tested yet! 2014-10-11 18:24:12 +02:00
inmarket
097bce6aa4 Board File can now request extra data bytes in the GMouse structure. 2014-10-12 00:55:32 +10:00
inmarket
a40283c92b Replace ChibiOS specific delays with generic uGFX delays in ILI9341 driver 2014-10-07 21:56:27 +10:00
inmarket
08e26fcb90 New newmouse driver for MCU touch 2014-10-07 21:54:19 +10:00
inmarket
5497bf82b3 Remove stuff made superfluous by newmouse 2014-10-07 21:53:17 +10:00
inmarket
3af0498a4c Replace ChibiOS specific delays with generic uGFX delays in ILI9341 driver 2014-10-07 21:51:15 +10:00
inmarket
f90ea57bff First ARM build to use the new makefile plus makefile updates 2014-10-01 00:45:02 +10:00
inmarket
68a784d67e First ARM build to use the new makefile plus makefile updates 2014-10-01 00:44:40 +10:00
inmarket
417f64bd3c Makefile fix 2014-09-29 17:51:43 +10:00
inmarket
ac6e26f1a0 uGFXnet ported to newmouse driver (and tidied up) 2014-09-29 17:51:23 +10:00
inmarket
d4a40cb507 Makefile fix 2014-09-29 17:50:43 +10:00
inmarket
4cf198aad2 X bug fix so application closes properly when there is a window manager 2014-09-29 16:08:10 +10:00
inmarket
a9e802395e X bug fix so that window closes properly when using a window manager 2014-09-29 16:00:17 +10:00
inmarket
6b158b8a0b Move mouse initialisation to a better spot 2014-09-29 15:59:37 +10:00
inmarket
d4eaafce10 Fix occassional startup crash under Win32 with newmouse 2014-09-28 01:44:24 +10:00
inmarket
bbdc236967 Merge branch 'master' into newmouse 2014-09-28 01:42:56 +10:00
inmarket
daf9f65b9f New makefile structure. Also OSX board defintion 2014-09-28 01:42:30 +10:00
inmarket
1298e3d635 First version X newmouse driver 2014-09-26 17:29:31 +10:00
inmarket
67fdb1e0b8 comments 2014-09-26 17:29:06 +10:00
inmarket
19e2e7a60c Win32 mouse ported to new mouse driver format 2014-09-26 16:32:34 +10:00
inmarket
6e265c80d2 Remove compile warning. 2014-09-17 09:34:24 +10:00
inmarket
036ad5d3dd SImplify the options for multiple displays.
This will also be more compatible with newmouse infrastructure
2014-09-17 08:45:40 +10:00
inmarket
7f8e1a7dea Create a readme for the gdisp drivers directory listing what hardware each driver can drive. 2014-09-17 08:45:24 +10:00
inmarket
683ac0ab7f Fixes to gdriver to make uGFXnet displays work 2014-09-13 14:50:32 +10:00
inmarket
8c953378ca Doco updates 2014-08-23 13:00:10 +10:00
inmarket
1a495f3013 Rename all driver makefiles to driver.mk 2014-08-22 18:20:02 +10:00
inmarket
117e195354 Update to the SPFD54124B gdisp driver.
Added an example board file for it to the boards/addons/gdisp directory
2014-08-21 09:11:10 +10:00
inmarket
0f3f8f68f8 Rename lots of files to help prevent compile time name conflicts. 2014-08-20 17:42:53 +10:00
Joel Bodenmann
d6e57525ff whitespaces 2014-08-20 00:42:19 +02:00
Joel Bodenmann
bf164b4583 added SPFD54124B driver by user shilow 2014-08-20 00:39:52 +02:00
Joel Bodenmann
6ff7d90500 Updating SSD1963 driver 2014-08-08 14:18:07 +02:00
Joel Bodenmann
05dd4f404b Win32 readme fix 2014-07-23 18:20:54 +02:00
inmarket
0d982a5578 trunet contributed R61505U gdisp driver 2014-07-17 18:17:34 +10:00
Joel Bodenman
2f1af41b27 Merged in pashamray/ugfx/pcf8812 (pull request #14)
fix SPI send data
2014-07-12 11:47:42 +02:00
Paul Shamray
214c2d2d0b Merged master into pcd8544 2014-07-12 11:04:23 +03:00
root
1104638ff0 fix SPI send data 2014-07-12 11:00:39 +03:00
root
94bc703fe2 fix SPI send data 2014-07-12 10:55:42 +03:00
root
1f72ee9f43 driver.mk is missed 2014-07-10 23:16:00 +03:00
root
7f7e2e5e1d fix SPI 2014-07-10 23:07:13 +03:00
Joel Bodenmann
5c8c0c7b36 more whitepsaces 2014-07-09 22:57:57 +02:00
Joel Bodenmann
538f9fcea3 whitespaces 2014-07-09 22:53:01 +02:00
Joel Bodenman
6925b4bfa6 Merged in pashamray/ugfx/pcd8544 (pull request #10)
Driver for PCD8544 controller
2014-07-09 22:33:17 +02:00
root
a3de59d7ad first commit 2014-07-09 22:01:59 +03:00
root
0afcec1ddb finish commit 2014-07-09 21:25:02 +03:00
pashamray
4611a10bc9 README.md 2014-07-07 08:54:14 +00:00
pashamray
f103da84bc README.md 2014-07-07 08:49:57 +00:00
root
b2a8500231 power manager 2014-07-06 21:14:24 +03:00
root
76625b646b fixed orientation 90 degree 2014-07-06 19:56:54 +03:00
root
28f9e7f766 fixed orientation 0 90 180 270 degree 2014-07-06 19:29:50 +03:00
root
71892bf761 fixed height bug and add actual display size 96*65 pixels 2014-07-06 13:57:28 +03:00
root
d8d47f804e work driver pcf8812 2014-07-03 18:13:49 +03:00
root
fd17106f99 work 2014-07-03 00:19:39 +03:00
root
5c421b09f7 edit 2014-07-02 15:05:12 +03:00
pashamray
a3993c80e0 master слито с pcf8812 2014-07-02 13:03:18 +03:00
Joel Bodenmann
dad27f76ba fixing volume control for vs1053 2014-06-28 06:33:47 +02:00
Joel Bodenmann
124e0fcc19 typo 2014-06-23 17:50:55 +02:00
Joel Bodenmann
7481e82dfc VS1053 poll rate is now an overridable value 2014-06-23 17:46:15 +02:00
inmarket
16fba41d50 Added support for playing arbitrary format audio files with an intelligent audio processor like the VS1053 codec.
Demo added.
2014-06-23 18:44:50 +10:00
pashamray
8e13c10f39 remove not use code 2014-06-18 21:43:14 +03:00
pashamray
a38fd71311 gdisp_lld_PCF8812.c отредактирован онлайн на Bitbucket 2014-06-13 12:05:41 +00:00
p.shamray
f3870ce441 first commit PCF8812 driver 2014-06-12 11:05:53 +03:00
Steffan Woltjer
27082a61d6 Added Xresource.h include to get rid of a warning about XrmUniqueQuark 2014-05-22 15:55:23 +02:00
inmarket
285bd0f4d6 GDISP framebuffer driver + an implementation for the linux kernel framebuffer device 2014-05-22 17:21:19 +10:00
inmarket
cb606359cc Multiple changes to GWIN to support containers. 2014-05-10 01:11:30 +10:00
inmarket
cb99e4ab09 Merge branch 'master' into gwin 2014-05-01 18:10:31 +10:00
inmarket
68f50a3fe9 Only require GTimer for the vs1053 driver if GAUDIO is turned on. 2014-05-01 07:41:33 +10:00
inmarket
04307da6b7 Updates to vs1053 driver. Now accepting data but still no sound. 2014-04-30 22:57:15 +10:00
inmarket
81c19da89f First version vs1053 audio play driver. Compiles but not tested yet. 2014-04-29 16:35:57 +10:00
Joel Bodenmann
6909345296 Chaning window title of Win32 simulator 2014-04-27 18:15:35 +02:00
Joel Bodenmann
d76104fefe Added ILI93xx drived by user xlh1460 2014-04-24 22:52:37 +02:00
Joel Bodenmann
1454d20f2e Added LGDP4532 display driver 2014-04-17 23:06:45 +02:00
inmarket
04f03ea71d New PWM audio driver for audio output using a digital pin on a CPU 2014-03-30 19:10:31 +10:00
inmarket
c16cb15ce9 Fix definition of when GADC is turned on for GADC audio driver 2014-03-30 19:08:53 +10:00
Joel Bodenmann
08e1b0ebc7 Removed the doxygen inside of every driver as doxygen is only meant for highlevel API documentation.
Documenting the drivers interface should be done inside a template driver or the gdisp LLD abstraction.
2014-03-28 19:45:08 +01:00
inmarket
c354639f7b Update GADC 2014-03-24 10:08:15 +10:00
inmarket
863e5a6b2d Fix 90 and 270 rotations in ILI9320 driver (Thanks jkjk) 2014-03-22 11:12:27 +10:00
inmarket
34818d21e8 Whitespaces 2014-03-22 11:06:52 +10:00
inmarket
271f0c743f Updates to GADC to use new simpler gfx queued bufferring.
NOTE: code is still buggy (or the one and only driver is buggy).
2014-03-20 23:41:27 +10:00
inmarket
712ff73f77 Some fixes for the Nokia6610GE8 display driver 2014-03-20 23:34:37 +10:00
inmarket
8b9d31ef90 Move queued buffer code from gaudio into gqueue 2014-03-20 23:33:32 +10:00
inmarket
e4d6884bca Cause the gaudio/gadc driver (currently broken) to include the GADC framework if it is included in the make. 2014-03-20 23:31:10 +10:00
inmarket
ea5a1b849d Combine GAUDIN and GAUDOUT into a single GAUDIO module.
Simplify GAUDIN (now GAUDIO RECORD) api.
Update audio demo's to match.
Port Win32 driver to new audio api.
2014-03-11 17:13:31 +10:00
inmarket
6d5a748f1c First GAUDOUT working demo. 2014-03-06 20:02:16 +10:00
inmarket
e762e91bd5 Updates to GAUDOUT.
Add Events to the GAUDOUT api.
2014-03-05 13:45:37 +10:00
inmarket
43527de2c0 Updates to GAUDOUT to allow specification of the sample format.
Fix threading issues.
2014-03-03 07:39:46 +10:00
inmarket
a56e4ac7dc First GAUDOUT work. Still incomplete but compiling.
Also moved drivers/gaudin to drivers/audio as most audio codecs support input and output in a single device.
2014-02-27 08:04:54 +10:00
inmarket
c3dcfc5764 A couple of include paths need fixing 2014-02-19 12:25:51 +10:00
inmarket
37966ff16d Integrate the include files with each module. Simplifies structure of code. 2014-02-19 00:36:52 +10:00
inmarket
961b15cafe Remove superfluous driver file 2014-02-19 00:26:15 +10:00
inmarket
23bb9e659a Driver fix 2014-02-16 17:20:31 +10:00
Joel Bodenmann
6515373b2a removing casts of gfxAlloc() return value as that is the whole idea behind having a void pointer 2014-02-02 12:59:36 +01:00
inmarket
d18325e576 Remove variable name conflict with doom demo 2013-12-30 09:05:29 +10:00
inmarket
57d9c4854b Add a readme for the Win32 GAUDIN driver. 2013-12-22 21:52:35 +10:00
inmarket
d8bde70ab6 Add Win32 GAUDIN driver. 2013-12-22 21:38:57 +10:00
inmarket
983342b001 Create the window class in the message thread for the Win32 driver (and replacement of NULL's with 0 for consitancy with other code) 2013-12-21 13:23:16 +10:00
inmarket
d9f02858fd Replace NULL's with 0 as NULL is not defined by the Raw32 GOS. 2013-12-21 13:21:59 +10:00
inmarket
018a930d55 Always use native threads in the Win32 driver even if a different threading model is being used for the rest of uGFX 2013-12-21 11:20:30 +10:00
omriiluz
e40375c4f2 Allow for LCD specific configuration -
Bias
Horizontal/Vertical flipping
Page Mapping per hard wiring of the LCD panel
2013-12-14 03:11:48 -08:00
Joel Bodenmann
891f134bc1 Removed TDISP module 2013-12-11 14:50:09 +01:00
inmarket
4dc9bf34a7 New versions of mingw use Red, Green Blue so we need to undefine them in certain places.
This should really be fixed by renaming Red, Green, Blue as the names are too common however this would create compatibility problems.
2013-12-11 00:38:42 +10:00
Joel Bodenmann
2e9592c49c removed obsolet file 2013-12-07 15:26:48 +01:00
inmarket
122ff8f911 Code to allow GFXnet display driver to work (in limited mode) when LWIP accept() hangs after a select(). 2013-11-30 11:13:13 +10:00
inmarket
c24ec8daf2 Update template files for the MCU touch driver. 2013-11-25 22:53:11 +10:00
inmarket
361136d7ca Rewrite of the MCU driver. This is now much more reliable. 2013-11-24 02:23:21 +10:00
inmarket
7f1b78a067 Replace color format conversion macros with proper routines to prevent side effects with using the macro.
Also fix a number of compiler warnings.
2013-11-17 23:32:19 +10:00
inmarket
643670ecd1 Reliability fixes for uGFXnet running on LWIP.
Note LWIP requires a stack larger than the default of 512.
2013-11-17 20:26:49 +10:00
inmarket
9a5a480870 Minor updates to LWIP support for uGFXnet.
Application supplied Start_LWIP() routine is now optional.
2013-11-17 00:52:52 +10:00
inmarket
c0f52dee38 Fixes for LWIP in the uGFXnet driver. 2013-11-16 22:50:05 +10:00
inmarket
1ae42d93c1 LWIP support for the uGFXnet driver. 2013-11-16 21:03:46 +10:00
inmarket
e6de7baf04 Update uGFXnet display driver. This is now working. 2013-11-16 02:02:45 +10:00
inmarket
a3935c653e Win32 GDISP driver - Get rid of compiler warnings created by the new orientation modes. 2013-11-16 01:56:34 +10:00
inmarket
6ab135a6e5 uGFXnet driver: Initialise the sockets layer correctly under Win32
Added a KILL command that can be send from the display to the device.
2013-11-13 22:56:13 +10:00
inmarket
e1721a9226 First version of a network display driver (the display is somewhere on the network rather than attached locally).
A remote display application is still to be written (coming soon).
Note: the remote display initiates the connection to the headless device rather than the headless device making the connection to the display.
2013-11-13 17:35:20 +10:00
Joel Bodenmann
bca78196f5 missing semicolon 2013-11-12 20:29:04 +01:00
Joel Bodenmann
da2740b706 merging GDISPStreaming 2013-11-10 21:07:16 +01:00
inmarket
a8e860678d New GDISP now supports multiple controllers with different pixel formats.
You can now have a main color display and a secondary monochrome display.
You can now optionally set GDISP_PIXELFORMAT to any color or grayscale format for your application and the driver will internally convert to the display hardware format.
2013-11-05 19:34:12 +10:00
inmarket
e35b76388c Fix to streaming read pixel for Win32 driver in emulation mode. 2013-11-05 13:43:28 +10:00