27 Commits

Author SHA1 Message Date
e15bd3ab90 adjusted the touchscreen coordinate system again to match the driver 2021-08-25 22:24:06 -06:00
f436cf9200 newer touchscreen driver interprets orientation differently 2021-08-25 22:21:32 -06:00
a0993bceca fixed code indents and quote marks in text files 2021-08-18 21:46:19 -06:00
Amy Bowersox
d1369964d7 The code has to be GPL'd, because the license of the BCM2835 library requires
it.  Add the license document and the header on all source files.
2019-12-12 09:24:58 -07:00
Amy Bowersox
a62364082a try to fix the coordinates returned by touch events 2019-12-11 12:31:32 -07:00
0d6b6ba8b4 minor fix to sysinput 2019-12-11 12:07:37 -07:00
Amy Bowersox
65999084c4 added "click" events for both buttons and touch 2019-12-11 11:32:19 -07:00
Amy Bowersox
a96a427e49 moved the main message loop entirely into Python 2019-12-09 13:29:37 -07:00
Amy Bowersox
4bef88aecc finished restructuring Sys_enable_input 2019-12-09 11:23:06 -07:00
Amy Bowersox
746962454d fixed build error 2019-12-09 11:20:21 -07:00
Amy Bowersox
69a4c42d68 added the rectangle functions and a "wait for input" mechanism to the system
input thread
2019-12-09 11:18:24 -07:00
7e098aa63a added more documentation 2019-12-07 13:07:59 -07:00
dfe9991496 implemented the touchscreen device events 2019-12-07 00:46:27 -07:00
cfc067786a fixed compile errors and makefile error omitting config.o 2019-12-06 22:45:01 -07:00
e2946fc714 added global configuration data block and our own "atexit" type mechanism
that doesn't depend on enough free slots in the C library
2019-12-06 22:08:34 -07:00
5e2269bf2b a value of 100 milliseconds is adequate for the debounce constant 2019-12-06 21:28:16 -07:00
8b7bd91817 added debounce logic for hardware buttons 2019-12-06 21:25:15 -07:00
09f4b5ceb5 adapted code to use the wintype.h types and the error codes 2019-12-05 18:21:37 -07:00
2f6118d436 code cleanup 2019-12-01 15:43:05 -07:00
69c5261ec4 removed some extra code and made Button 4 be a "quit" function 2019-12-01 01:40:28 -07:00
de84145e55 found the bug, now I think I've got it right 2019-12-01 01:36:07 -07:00
1bf4e3397e another approach 2019-12-01 01:28:10 -07:00
97ee88caf3 cleaning up access to the system queue 2019-12-01 01:24:15 -07:00
969fefd0aa simplified the input thread's internal loop 2019-12-01 01:18:59 -07:00
0a20f315d5 add some extra logging 2019-12-01 01:11:46 -07:00
340e08232e fixed compilation errors 2019-12-01 01:07:37 -07:00
87db1f4d02 implemented the system input queue and system input thread 2019-12-01 01:02:08 -07:00