it was just meant as a friendly and constructive feedback from a user. as you did even say by yourself: "all there if you can be bothered to look - which sadly, judging by the email I get, it seems most (!) people can't ." Of course I won't tell you what you have to do, but if if you provide things ...
all there if you can be bothered to look - which sadly, judging by the email I get, it seems most people can't. on https://projects.drogon.net/raspberry-pi/wiringpi/lcd-library/ I have looked but there is no example code to find, just some vague or questionable codes of users posted in the discussi...
where on your website can this source file be read, too? IMO everyone who is searching for a lib or an example is supposed to search on a website or in a repository first, probably using Google, pls CMMIIW! additionally , on a website you can provide wiring charts (e.g., Fritzing), and one can see h...
I see, not a simple task to do. I came to that openVG plus mouse idea when I read about a GUI IDE for window-frame-and-form-based programs (OP by Stiller) like one can construct it by C++ MS-Windows visual programming IDEs, just by "painting" or "drawing" a program interface (like Visual C++ or C++ ...
Yes but X11 knows nothing about the OpenVG window. As soon as you press a mouse button whatever X11 window happens to be underneath the cursor at that time will suddenly get focus and X will think you are interacting with that and send events to it. You could easily end up doing something unintenti...
another good example about what beginners would wish to know about C/C++ programming for the Pi: https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=164189 As you may may observe, many Raspi newbies are already a little experienced in C/C++ for Arduino (i.e., at least with the very C/C++ basics)...
Gordon's tutorial on his wiringPi website: https://projects.drogon.net/raspberry-pi/wiringpi/lcd-library/ (unfortunately Gordon does not provide really functioning complete source code examples on his website) There are plenty functioning complete source code examples on my sites - and I reply to m...
it's actually not about a window but about the entire desktop position, i.e. the whole (1080p or 720p) HDMI sreen.
I want to use the mouse functionality with openVG.
thank you, that sounds promising, but could you please provide a functioning code which I could use from a proprietary C or C++ program?
For testing purpose, that program perhaps just might print a string to stdout repeatedly saying:
mouseX=..., mouseY=..., mouseBtnEvent=...
Well at a guess /dev/input/event4 doesn't exist since that error is printed only when MOUSEFILE doesn't exist. that would have been also my educated guess ;) You need to provide the proper file that corresponds to the mouse input stream and that is entirely dependant on what you've got plugged in t...
no, of course I did not install Xlib,
That was exactly what my question actually was about (I simply didn't know how to perform that)
and what about addional libs you once mentioned?
I just can assume that it's originally a shield provided for Arduino (e.g., Adafruit), randomly taken from the avaiable Fritzing tools, but usually that does not matter when taking them for the PI as well provided that it's a HD44780 type (what most probably will be true).
unfortunately not for me, Compiler error: unbenannt.c:10:22: fatal error: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden so my question was actually about how to install all of those Xlib things correctly ;) about gcc I can't tell you, I use the standard setup of Jessie os-release (cat /etc/os-re...
I already tried this code, but it does not compile - what and how do I have to do to install all and everything correctly? // ref.: // http://stackoverflow.com/questions/11519759/how-to-read-low-level-mouse-click-position-in-linux #include <linux/input.h> #include <fcntl.h> #include <X11/Xlib.h> #de...
hello again, about openVG: how to quickly clear an area to Background color? (e.g., if a text line has to be erased smilar to "ClearEndOfLine", or a graph, a picture, or a shape has to be erased in an area ) Is there a quicker way other than painting a rectangle over the related area which is actual...