Commit Graph

31 Commits

Author SHA1 Message Date
circuit10
b44a95a9b3 Casio fx-CG series port (#324)
* Initial test - working on Linux

* Try to make it work with liba

* Stop using liba and the filesystem

* IT WORKS

* Key input, full res, fix some of the crashes

* Fix the hang when doing calculations

* Add some more key mappings

* Fix the square root issue

* Icons

* Better key mappings, brightness control, better gamma correction, more effficient framebuffer

* Cleanup stage 1

* Cleanup stage 2

* Make the build system build a g3a

* Make it not exit when you press the menu button

* Add Casio port to README

* Use omega-master instead of omega-dev

* Fix mistake with cherry-picking in the README

* Fix internal storage crash

* Fix compile error on Numworks calculators

* Upsilon branding

* Sharper icon

* Make the CI work

* Add power off and improve menu

* Map Alpha + up/down to the brightness shortcut

* Add missing file

* Fix web CI build

* Revert "Fix web CI build"

This reverts commit f19657d9fc.

* Change "prizm" to "fxcg"

* Add FASTLOAD option for Add-in Push

* Add some charatcers to the catalog on Casio and improve key mappings

* Build with -Os -flto

* Disable LTO for now as it's causing crashes

* Put back the fonts I accidently changed

I'd like to add an option for this though as I prefer the ones from Epsilon
2023-05-10 18:28:18 +02:00
Yaya-Cout
169fb7404e Fix spelling (#128)
* Fix spelling in .cpp files

* Fix spelling in all files
2022-01-20 17:21:35 +01:00
Joachim LF
f999c796c3 [Upstream] Merged epsilon 15.5 2021-05-14 13:28:22 +02:00
Romain Goyet
c66db8c98d [ion] Actually send None events to the destination journal
Said journal will most likely ignore it, but it gives it the opporunity
to do something about it.
2021-03-03 15:37:57 +01:00
Romain Goyet
2bee7eb267 [ion] Make Ion::Events::Journal optional 2021-03-03 15:37:48 +01:00
Romain Goyet
f4905c59a2 [ion] Events::Journal has isEmpty 2021-03-03 15:37:47 +01:00
Romain Goyet
cbc3951ab1 [ion] Add an event journal
It's pretty much just two callbacks that one can hook into to get some
events in or out of Ion.

It adds a couple useless checks and pointers to any build and could be
hidden behind a feature flag, but the extra weight is minimal.
2021-03-03 15:37:47 +01:00
Joachim LF
9b17d1b882 [Update] Epsilon 15.3.1 2021-01-21 19:56:06 +01:00
Gabriel Ozouf
3a90ed6109 [ion/events_keyboard] Fix selection on long press
A previous fix to prevent AlphaLock from interfering with the long press
feature broke the long press selection. Revert the changes and find
another solution to the previous problem.
We compare the alpha status to both the state of the Alpha key and the
Lock, which makes sense : Lock is supposed to mimic Alpha being
continuously pressed.

Change-Id: I1349eb83f8971d3a5efcb10de020bb6c0aed64a1
2020-11-04 15:58:27 +01:00
Gabriel Ozouf
ab864d10d8 [ion/events] Compare event for repetition
This fixes the following bug :
  (Anywhere with a movable cursor, like a table, a text field or a curve)
  - press Alpha (once, or twice to activate the lock)
  - keep pressing a direction
--> The cursor would only move once.

Change-Id: I46115d1a31ced244615bfdfe08f37dfe7e918d6e
2020-11-04 15:33:03 +01:00
Hugo Saint-Vignes
433639c471 [ion] Implement dynamic scroll speed profile
Change-Id: Ib3ec2ef63d19bfb88b627f06bcc185fa1b232223
2020-11-04 15:07:19 +01:00
Quentin Guidée
e8b86ca6a1 [upstream] Update 2020-10-10 02:28:33 +02:00
Léa Saviot
b020cb2f98 [ion/simulator] Add haptic feedback 2020-09-30 17:30:34 +02:00
M4x1m3
58a33e8190 [ion] Fixed issue with backspace 2020-07-19 15:39:27 +02:00
M4x1m3
efd2896a34 [ion/kb] Reverted #370, found a better way to fix. 2020-07-17 10:09:07 +02:00
Joachim Le Fournis
4a9bfca1f6 [ion] Alpha-locked percent becomes backspace 2020-04-09 12:09:03 -04:00
Léa Saviot
961ba10122 [ion/events] shift+Left/Right/Up/Down can be repeated 2020-02-12 15:13:17 +01:00
Léa Saviot
ab48f8d879 [ion/events] if shift/alpha pressed, it is active
No need to press shift between ezach event -> one long shift press keeps
it active
2020-02-12 15:13:17 +01:00
Léa Saviot
b9bc9008ac [ion] Detect long repeated events
This will be use for instance to sroll faster if the user presses the
directional keys for a long time
2020-02-12 15:13:15 +01:00
Romain Goyet
87d0ccf0b2 [ion] Share the keyboard-to-event code between platforms 2019-03-08 13:59:35 +01:00
Jacob Young
115f75c06a Fix #8 with a custom getEvent for the simulator. 2018-01-16 09:59:49 +01:00
Émilie Feral
8fd329d167 [ion] Fix alpha and shift modifiers for emscripten
Change-Id: If8ae07048dddbcf77c18a7c9f06160359f6638ba
2017-08-25 11:20:49 +02:00
Émilie Feral
68cd3f4574 [apps][ion] Discard shift alpha status when switching app or switch off
Change-Id: I955276168c9e31f7aebccbe0d57e8f15bb030e7e
2017-08-17 16:21:21 +02:00
Émilie Feral
2900b901ba [ion] Clean alpha shift event modifiers
Change-Id: I6dd667fb12c0cd3d3e90a6f98da0bd56780dcff6
2017-06-30 10:42:30 +02:00
Émilie Feral
f9a1caa8eb [ion] Add a class State in Keyboard
Change-Id: I42b2c892deaedc83a7629d8c8be66cd4e1fbcb5c
2017-05-23 15:24:55 +02:00
Émilie Feral
3743ae6bce [ion] In events keyboard, implement shift-alpha-lock
Change-Id: I6377c6ce7ca6468ca884c90dbfb1b4b15098fab9
2017-04-21 10:08:09 +02:00
Émilie Feral
a24cea77d0 [ion] Add a time out in get event
Change-Id: I7c54deb46141d921a7c5019fe8afa324f240954a
2017-04-07 11:30:07 +02:00
Romain Goyet
27f9847713 [ion/device] Fix events generation
We now repeat some events (arrow, backspace)

Change-Id: I5f8e09b5f29ea4edbc709b94aae8674d7112a7b3
2017-03-31 10:43:43 +02:00
Romain Goyet
a85158d4ce [ion] Introduce Ion::Keyboard::State
Change-Id: I8da2814365391c3c23f2011f92532269b7a4381d
2017-03-30 17:48:14 +02:00
Romain Goyet
ebb633ff23 [escher] Add RunLoop and Timer
Change-Id: Icb5b2e82cc9fe999eb4b1c7e9dff75ca92dcca43
2017-03-07 11:00:00 +01:00
Romain Goyet
9b6b341c62 [ion] Clean the shared folder
Change-Id: I165135ec1600795266a331ee740e608be16c7933
2017-02-16 10:59:43 +01:00