Commit Graph

1517 Commits

Author SHA1 Message Date
Hugo Saint-Vignes
688394abce [ion] Set stack pointer when testing as well
Change-Id: Ibeae7961535208c224f9ac51f4cf33e3978665b3
2020-11-04 15:32:58 +01:00
Hugo Saint-Vignes
70a628f2c8 [apps] Fix Python assert crash on malloc free
Change-Id: I48f86422f7d6af5227e2556e6ef531dfad696da4
2020-11-04 15:30:53 +01:00
Hugo Saint-Vignes
d937bc692b [apps/code] Fix crashes on full buffer
Change-Id: If9297f1ca29015cad0cc1cdda3ad610fd1493392
2020-11-04 15:11:45 +01:00
Hugo Saint-Vignes
53e204db3a [liba] Add abs function for int
Change-Id: Ic133ff2f34c7ff24ecbec69d5f31e447a72ae4fe
2020-11-04 15:11:43 +01:00
Hugo Saint-Vignes
433639c471 [ion] Implement dynamic scroll speed profile
Change-Id: Ib3ec2ef63d19bfb88b627f06bcc185fa1b232223
2020-11-04 15:07:19 +01:00
Hugo Saint-Vignes
af32f33141 [ion] Remove unused function and rename longRepetitionScrollSpeed
Change-Id: I11268eb34060c74eb8770ba0eb999f84737c76d8
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
b60c67ff88 [apps] Factorize scrolling speed for long repetition
Change-Id: I5fcfaf04e418942664641c4b1cd044cda7f5aebb
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
1879eb36d8 [ion/test] Typo Fix
Change-Id: I49d041dea6333a7f7f1a179e2ffcff2391dbaa28
2020-11-04 14:45:34 +01:00
Gabriel Ozouf
e8505d79e7 [ion/device/exam_mode] Fixed missing parentheses in assertion
Change-Id: If10b6ea98ed224d79cfa50f38f9e229331d0f9f9
2020-11-04 14:45:34 +01:00
Gabriel Ozouf
0454b65a94 [ion/device/usb] Fixed missing static member definitions
Change-Id: Iedf6ce51d3213f9265fec247c7bdfda4e3304d3a
2020-11-04 14:45:34 +01:00
Émilie Feral
1f81c97371 [ion] USB::DFU takes an argument specifying if the DFU mode should be
leavable from keyboard
2020-10-27 08:50:05 +01:00
Émilie Feral
2d71e98b52 [ion] n0100 Console: fix pin alternate function 2020-10-27 08:45:41 +01:00
Émilie Feral
17fd1aea29 [ion] Haptics implementation are on all simulators but
Ion::Haptics::isEnabled is per platform.
2020-09-30 17:30:34 +02:00
Émilie Feral
0c0510599d [ion] Simulator: haptics feedback are only implemented on Android and
depends on the System settings
2020-09-30 17:30:34 +02:00
Émilie Feral
9786db308a [ion] Haptics events don't depend on SCREEN_ONLY 2020-09-30 17:30:34 +02:00
Émilie Feral
979c227d54 [ion] web: improve key highlight positions 2020-09-30 17:30:34 +02:00
Émilie Feral
595532e0a5 [ion] Remove useless variables 2020-09-30 17:30:34 +02:00
Émilie Feral
42cedf5b10 [ion] Windows: improve resgen.py script 2020-09-30 17:30:34 +02:00
Émilie Feral
f4b9635fee [ion] Change variable name 2020-09-30 17:30:34 +02:00
Émilie Feral
560c4b3821 [ion] Linux: improve incbin.py script 2020-09-30 17:30:34 +02:00
Émilie Feral
5da82d8423 [ion] Add comment 2020-09-30 17:30:34 +02:00
Émilie Feral
33425e04c0 [ion] Coding style 2020-09-30 17:30:34 +02:00
Émilie Feral
7535abc298 [ion] Change name of variable in Makefile 2020-09-30 17:30:34 +02:00
Émilie Feral
308b321ead [ion] Clean windows flag 2020-09-30 17:30:34 +02:00
Émilie Feral
8976ebfc41 [ion] Makefile linux: simplify build system by generating a header 2020-09-30 17:30:34 +02:00
Émilie Feral
4620aa8aa8 [ion] Remove useless comment 2020-09-30 17:30:34 +02:00
Émilie Feral
c96efa76b9 [ion] Windows Makefile: build .rc from the list of assets 2020-09-30 17:30:34 +02:00
Émilie Feral
40392fff9c [ion] Simulator: assets declaration is common to all targets 2020-09-30 17:30:34 +02:00
Émilie Feral
815a06adad [ion] Avoid unhighlighting key when the mouse is still on it.
Distinguish with smartphones behaviour.
2020-09-30 17:30:34 +02:00
Émilie Feral
22b585057d [ion] Simulator: key layouts assets are PNG instead of JPG V (fix windows) 2020-09-30 17:30:34 +02:00
Émilie Feral
165b129385 [ion] Simulator: key layouts assets are PNG instead of JPG IV (fix linux) 2020-09-30 17:30:34 +02:00
Émilie Feral
1946c68ef8 [ion] Simulator: key layouts assets are PNG instead of JPG III (fix ios) 2020-09-30 17:30:34 +02:00
Émilie Feral
d2632bff4f [ion] Simulator: key layouts assets are PNG instead of JPG II (fix
android)
2020-09-30 17:30:34 +02:00
Émilie Feral
d4b7b6baf0 [ion] Simulator: key layouts assets are PNG instead of JPG I (fix macos) 2020-09-30 17:30:34 +02:00
Émilie Feral
11236c67cb [ion] Improve key positions 2020-09-30 17:30:34 +02:00
Émilie Feral
0b114abb95 [ion] Simulator windows: fix pixel format typo 2020-09-30 17:30:34 +02:00
Émilie Feral
8000ff733e [ion] Simulator: improve key center positions 2020-09-30 17:30:34 +02:00
Émilie Feral
8b5caeb394 [ion] IonSimulatorLoadImage returns a Texture (otherwise the pixels data
which needs to be deleted when freeing the surface is hard to retrieve)
2020-09-30 17:30:34 +02:00
Émilie Feral
02b648e36d [ion] IonSimulatorLoadImage returns a surface instead of a texture: this
way we can set a transparent color key before turning it into a texture.
2020-09-30 17:30:34 +02:00
Émilie Feral
674703f4dc [ion] Missing include 2020-09-30 17:30:34 +02:00
Émilie Feral
64bcbd708a [ion] Linux: fix images: get the asset addresses instead of consecutive
table addresses
2020-09-30 17:30:34 +02:00
Émilie Feral
2236dcdbed [ion] Fix: unhighlight the key on mouse up event (when you clicked on the key
on a smartphone, you want the key to be deselected)
2020-09-30 17:30:34 +02:00
Émilie Feral
af544a95d1 [ion] Windows: IonSimulatorLoadImage can now load any resource. Enable
to use key layouts jpg files in C/C++ code.
2020-09-30 17:30:34 +02:00
Émilie Feral
22250b4234 [ion] linux: enable to use key layouts jpg files in C/C++ code 2020-09-30 17:30:34 +02:00
Émilie Feral
a27122802d [ion] Macos Makefile: add depencies on keys layouts jpg images 2020-09-30 17:30:34 +02:00
Émilie Feral
ad1ef783ce [ion][escher] Revert previous commit: move inliner back to escher 2020-09-30 17:30:34 +02:00
Émilie Feral
4ae39f56fd [ion] Simulator: Layout uses jpg images instead of image built by the
inliner
2020-09-30 17:30:34 +02:00
Émilie Feral
652d2e6bac TODOs 2020-09-30 17:30:34 +02:00
Émilie Feral
50031c4836 [ion] Unhighlight the key on mouse up event (when you clicked on the key
on a smartphone, you want the key to be deselected)
2020-09-30 17:30:34 +02:00
Émilie Feral
ef363c57ac [ion] Reset the highlighted key once it has been drawn 2020-09-30 17:30:34 +02:00