3djc
576c148b9c
Add X12S keypad FIRST events to LUA ( #3801 )
...
* Add X12S keypad FIRST events to LUA
* X9E fix
2016-09-14 18:57:45 +02:00
3djc
d84fd993c9
Move lua evt param from signed uint8_t to unsigned event_t
2016-09-12 07:20:06 +02:00
Bertrand Songis
cc2c2b094e
[Horus] S.PORT devices update should work (not tested)
...
[Horus] SD Manager files renaming fixed (quick & dirty, I would prefer a popup)
2016-09-05 19:33:06 +02:00
Andre Bernet
aaf7f67ebb
Add getRAS to Lua interface ( #3742 )
...
* Add getRAS lua function
* Add warning
* Return nil is case of bad antenna
* Check for valid SWR
* Typo
* Cosmetic
* Clarify that it is 0x33
2016-08-31 23:12:18 +02:00
floaledm
29642e379f
Haptic feedback in lua scripts
2016-08-31 15:01:31 -05:00
Bertrand Songis
1d735f2bd3
[X9E/X7D] Rotary encoder navigation speed implemented ( #3724 )
2016-08-27 18:19:44 +02:00
Bertrand Songis
d3ae3c035d
Bsongis/gui refactoring for x7 d ( #3701 )
...
* [X7D] New board added
* Cosmetics
2016-08-18 11:49:16 +02:00
Bertrand Songis
7fbd963b3f
Another big refactoring
2016-08-02 22:15:29 +02:00
Bertrand Songis
51223a5864
No more REV9E and REVPLUS
2016-07-29 14:44:59 +02:00
Bertrand Songis
53b51cac94
Bsongis/crossfire refactoring ( #3613 )
...
* Crossfire refactoring
* Crossfire script now displaying fields
* Crossfire script now displaying text selection values
2016-06-18 22:16:50 +02:00
Bertrand Songis
900266be4a
[Crossfire] Cosmetics
2016-06-16 15:18:32 +02:00
Bertrand Songis
e50aa21dd2
[Crossfire] Devices parameters script started
2016-06-16 11:53:45 +02:00
Bertrand Songis
9b5b9be50c
[Crossfire] Telemetry packets are bigger
2016-06-15 22:19:10 +02:00
Bertrand Songis
862fa5525e
[Crossfire] Upstream link development started
2016-06-11 20:05:51 +02:00
Bertrand Songis
9056e76460
[Taranis] RIGHT attribute added + TELEMETRY page splitted
2016-05-18 21:52:16 +02:00
Bertrand Songis
f27a87dea4
toInt16 function added
2016-05-17 23:41:05 +02:00
Damjan Adamic
8eda8244c6
Re #2826 : Lua API: doc update for Cels-
and Cels+
2016-05-16 22:01:06 +02:00
Damjan Adamic
67c0326cca
Re #2826 : Lua API: return proper values for Cels-
and Cels+
2016-05-16 21:36:19 +02:00
Bertrand Songis
3f74d54fd9
RIGHT exported to Lua
2016-05-15 13:05:51 +02:00
3djc
dcd42145d0
3djc/add lcd.rgb ( #3494 )
...
Add docs for lcd.setColor and lcd.RGB
2016-05-14 16:58:29 +02:00
3djc
01a69e3dbf
Do not export COLOR_INDEX to LUA anymore, as they are not needed anymore due to change in setColor ( #3490 )
2016-05-13 16:18:40 +02:00
3djc
24abad55ca
Fix CUSTOM_COLOR,… ( #3489 )
...
* Fix CUSTOM_COLOR, also change to way setColor work to a more natural : lcd.setColor(CUSTOM_COLOR, RED)
* Remove _INDEX from TBS main to match the recent change to setColor
2016-05-13 14:26:18 +02:00
Damjan Adamic
49cad7f757
Re #3462 : Lua doc update
2016-05-09 19:29:52 +02:00
Damjan Adamic
6349ff9496
Fixes #3462 : PlayTone check for min/max frequency added. Fixes Lua playTone() crash when called with abnormal parameter values. ( #3468 ) (ported from master)
2016-05-06 22:44:43 +02:00
Bertrand Songis
bd87028fd5
FrSky S.PORT upstream ( #3426 )
...
FrSky S.PORT upstream
2016-04-29 18:44:25 +02:00
Bertrand Songis
26e156f9ad
[Crossfire] Telemetry new fields (GPS / Battery)
...
I did a refactoring for the latitude and longitude decoding which should be tested carefully for FrSky S.PORT and D telemetry
There was a double conversion in S.PORT protocol, there are less maths now, and perhaps precision will be better
2016-04-26 19:36:48 +02:00
Bertrand Songis
ecff71b044
Cosmetics
2016-03-25 12:54:35 +01:00
Bertrand Songis
14673dd7bb
[Horus] Navigation enhancements
2016-03-16 21:55:03 +01:00
Bertrand Songis
7e45537402
[Horus] Keymap is now consistent with labels on keys
2016-03-15 23:21:32 +01:00
Damjan Adamic
a1e0b550fd
Re #3344 : doc update
2016-03-13 18:34:29 +01:00
Damjan Adamic
d5db9b7410
Fixes #3344 : radio and voice language returned in Lua getGeneralSettings()
2016-03-13 18:26:08 +01:00
Bertrand Songis
086204aed5
Fixes #3344
2016-03-11 18:29:00 +01:00
Bertrand Songis
0c5f5695cc
MSVC errors
2016-03-05 09:58:38 +01:00
Bertrand Songis
ad33bff31c
Warning removed
2016-03-05 08:42:55 +01:00
Bertrand Songis
a7d0816ac7
Merge pull request #3326 from opentx/bsongis/passthrough_sport_to_lua
...
Bsongis/passthrough sport to lua
2016-03-05 00:27:13 +01:00
Damjan Adamic
19f392131c
Fixes #3329 : playDuration() second parameter is now really optional
2016-02-29 19:11:45 +01:00
Damjan Adamic
fb3dd1303c
Fixes #3328 : docs updated
2016-02-29 19:11:28 +01:00
Bertrand Songis
56fb01a958
Lua telemetryPush function now added
2016-02-28 21:21:48 +01:00
Bertrand Songis
fe901dabdf
luaRegister function removed
2016-02-28 19:55:20 +01:00
Bertrand Songis
75e1bead3f
S.PORT to Lua telemetry passthrough
...
The Fifo is created with ```telemetryRegister``` and elements (ID + Value) are taken from the Fifo with ```telemetryPop```
Not tested at all. Just for review / discussion
2016-02-28 11:56:54 +01:00
Bertrand Songis
d1be1b4ea0
[Horus] Widgets can be written in Lua
2016-02-18 22:10:27 +01:00
Bertrand Songis
5853ac635f
[Horus] More constants exported to the Lua interface
2016-02-16 18:49:41 +01:00
Bertrand Songis
48081db9f6
[Horus] Compilation fixes
2016-02-11 23:34:07 +01:00
Bertrand Songis
88841f63ca
Switch to CMake
2015-12-21 23:43:18 +01:00
Damjan Adamic
9e237c9e46
Re #3127 and #2921 : getFlightMode() can now return specified flight mode data
2015-12-14 20:40:27 +01:00
Damjan Adamic
1dcc660f31
Fixes #2921 : Lua getFlightMode() function added
2015-12-07 18:01:37 +01:00
Bertrand Songis
1e2130de53
[Horus] Lua model scripts added
2015-12-06 22:54:43 +01:00
Damjan Adamic
9d29b483c5
Lua export fixes ported from master
...
Cmake Horus font dependencies fixed
Jenkins build scripts added and fixed
2015-12-06 11:26:07 +01:00
Damjan Adamic
af6ea012bb
Lua documentation update
2015-11-30 18:53:33 +01:00
Damjan Adamic
f184e9bed3
Re #2469 : part2: keys accesible to Lua telemetry scripts (Taranis only) (ported #3087 from master commits 3186a5d99..94d8b8b0e8d)
2015-11-26 19:40:32 +01:00