Commit Graph

41 Commits

Author SHA1 Message Date
Romain Goyet
025405d01d [ion] Add Ion::crc32
Takes only 32bit values. Uses non-reversed data/input

Change-Id: I8a776064af69047f7a8fa1399cf8a484f42b9b18
2017-01-06 17:22:29 +01:00
Romain Goyet
c1db79b5f9 [ion] Add a backlight namespace
Change-Id: I0b9ec9a1b342d4b949776f0303eca69a28d1de91
2017-01-05 16:00:10 +01:00
Romain Goyet
9b2fecfb12 [ion] Add Ion::usleep
Change-Id: Ife70133410e55c3f0af9a838543042a3da618119
2017-01-05 16:00:01 +01:00
Romain Goyet
5d9a3c2c92 [ion] Emscripten handles events from click
Change-Id: I81116dfd829fafc60d8aafd5edb7a925780900ff
2016-11-14 15:46:50 +01:00
Romain Goyet
f5ea9cb2d3 [ion] Introduce Ion::Events::None
Which allows Ion::Events::getEvent to be non-blocking

Change-Id: I2715b10ace2ecbac153b0f7d00ea5f2ca5de399c
2016-11-11 16:06:29 +01:00
Émilie Feral
1556ec3d2b [ion] adjust simulator to new keyboard
Change-Id: Ib0baddf88f74621c21276746161d2d0bdb68942e
2016-11-10 17:29:48 +01:00
Romain Goyet
b87f06e3a2 [ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
2016-11-10 17:29:48 +01:00
Romain Goyet
99a4e3de91 [ion] Enable suspend/resume
Change-Id: I1fe580de7f98b95c768416ca889a7d74dad851ca
2016-08-31 17:07:41 +02:00
Romain Goyet
19c484640f [ion] Measure the battery voltage
Change-Id: Ic3c05eb65e2db3a66f2d2413821a0c121facd98f
2016-08-29 16:55:48 +02:00
Romain Goyet
831c42796b [ion] Add battery-related functions
Change-Id: Ib63b48140a8347d0d07902d956a3685fb040c481
2016-08-29 13:25:14 +02:00
Romain Goyet
457b7215fd [Ion] Enable setting the LED's color
Change-Id: Ib3e25be8d180f9d19ad3a0d0861b210d8a702194
2016-08-23 17:29:07 +02:00
Romain Goyet
753a4a7cb5 [Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
2eeec9e929 [ion] Clean ion_sleep
Change-Id: Ib71e7e535ecd2ee572d09f2e64f2cba9368c614f
2016-08-18 16:45:36 +02:00
Romain Goyet
ada53fed0d PWM LED driving
Change-Id: Ic3eb3c13e5a0f35e13caf96039304647b2363bd2
2016-08-05 18:44:12 +02:00
Romain Goyet
5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
30aa62e3c5 Escher: Introduce the TiledView
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
Romain Goyet
8e4b1666bb Kandinsky: KDFillRect takes a pattern, always
Change-Id: I32113345d742f21c0e238c1707bcee0116694d6f
2016-07-05 13:32:47 +02:00
Romain Goyet
ac4660bf3b ION: SCREEN_WIDTH becomes ION_SCREEN_WIDTH
Change-Id: Ifc7d06b773f8660cff30e727f510eea448b23852
2016-06-10 17:32:31 +02:00
Romain Goyet
7a389ca11b ION: Clean the st7789 driver
Change-Id: I706768fc49cb48ea3d965807efc0c6c825d96683
2016-06-10 17:16:19 +02:00
Romain Goyet
c07ef9a3f6 Ion: Increase the number of keys to match NW8901
Change-Id: Iaad8bf8167cc53cbe9869997dbdecba91a1196cc
2016-06-10 15:46:14 +02:00
Felix Raimundo
f334977c6a Nicer plot
Change-Id: I6f080a4c26ad8ce574661228a4d4b53632d2f870
2016-04-07 16:53:39 +02:00
Felix Raimundo
f9b7836e1e Add a delete button to the keyboard.
Change-Id: I10e57f19a7edfb4a59fb3c2f48bc0f8a8a58643f
2016-04-01 15:13:47 +02:00
Felix Raimundo
418d081f6e Add the trig menu.
Change-Id: Ifbe2518cb3a089dace82d56031987fbc7a2e6181
2016-03-29 13:41:36 +02:00
Felix Raimundo
fd95a7e558 Adds a text_input function to get text.
Also removes ion_getchar in favor of ion_get_event.

Change-Id: Id95ea509315185da24fd2a3fe90969da0bd19cfc
2016-03-23 17:31:59 +01:00
Felix Raimundo
411e983ccf Final pass at removing the warnings.
Change-Id: I4cd0276c97112e69fe2449c8db5eaaa1c186dfb6
2016-03-23 11:42:32 +01:00
Felix Raimundo
2778ccea11 Use the same macro for the screen size.
The screen size used to be defined by the framebuffer size, this was weird,
the creen size can be defined in the makefile if needed (in order to have different one for
different targets)

Change-Id: Ie294fba5f6cf5e942b4b35847ae8ccd18d3ddf85
2016-03-22 18:39:59 +01:00
Felix Raimundo
16b650c5d5 Add left and righ arrows to move in the expression
Change-Id: Icf58335c9a78a97bdbed0da5d01f715dc11757d2
2016-03-22 18:39:59 +01:00
Romain Goyet
8869986a76 [ion] Proper CM4 registers 2015-09-30 14:46:29 +02:00
Romain Goyet
08441e6ec5 [ion] big cleanup 2015-09-19 13:09:41 +02:00
Romain Goyet
e45e5a0049 [ion] better ion_getchar 2015-09-19 09:54:24 +02:00
Romain Goyet
033b091e07 [ion] Rewrite the keyboard routine 2015-09-17 20:15:00 +02:00
Romain Goyet
9d4ca437c1 [ION] Clean the framebuffer subsystem 2015-09-11 23:04:07 +02:00
Romain Goyet
af0313e22d [ION] Preliminary key -> char mapping 2015-09-02 22:02:31 +02:00
Romain Goyet
65bfef0a96 [ION] Cleaner keyboard interface 2015-09-02 18:54:43 +02:00
Romain Goyet
397fc452f7 [ION] Get rid of scankey, use ion_key_states[] instead 2015-09-02 15:23:32 +02:00
Romain Goyet
ece318c454 [ION] Nicer FltkKbd 2015-09-02 13:47:25 +02:00
Romain Goyet
e11f6efa94 [ION] Separate header for keyboard 2015-09-01 22:48:17 +02:00
Romain Goyet
cd3046b3ef Ion simulator support 2015-09-01 11:39:02 +02:00
Romain Goyet
fbe2f808b2 KD_FRAMEBUFFER_HEIGHT 2015-08-31 23:27:37 +02:00
Romain Goyet
b32b47300a ION re-structuring 2015-08-05 15:52:44 +02:00
Romain Goyet
067c53d705 Multiple platform support 2015-08-03 21:04:13 +02:00