diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2013-03-01 10:19:54 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2013-03-01 10:32:01 +0100 |
commit | 6ea53840c9cb9b99c41fbb4d87a1acac8c0889e5 (patch) | |
tree | 787f03925be4c43f288b319333004d34666a4f63 /scripts/devhook.lua | |
parent | 43da8901ecb4511b44deb06351d96b786cd418e1 (diff) |
SLIMaxMgr III beta
Diffstat (limited to 'scripts/devhook.lua')
-rwxr-xr-x | scripts/devhook.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/devhook.lua b/scripts/devhook.lua index 90a8099..28c40e1 100755 --- a/scripts/devhook.lua +++ b/scripts/devhook.lua @@ -1,10 +1,8 @@ --- SLIMax Mgr Lua Script v2
--- Copyright (c)2011-2013 by EK and Zappadoc - All Rights Reserved.
--- Use this script to bypass any previous functions and show what
--- you want onto your device.
+-- SLIMax Mgr Lua Script v3
+-- Copyright (c)2012-2013 by Zappadoc - All Rights Reserved.
--- param = device type (integer - see mDeviceType table)
+-- param = device type (integer - see GetDeviceType() )
-- return 1 to send processed data to the device and bypass Mgr
-- return 0 to skip and give the control to Mgr
function deviceReport(devType)
@@ -21,7 +19,6 @@ function deviceReport(devType) -- if result = 1 bypass the script below and return 1
if result <= 1 then return result end
-- if result >= 2 continue
-
-- sim paused?
local paused = GetContextInfo("paused")
@@ -30,6 +27,7 @@ function deviceReport(devType) if paused or spdLmt == 0 then
-- reset value
SetDigitsAllowed(true)
+ SetFanatecDigitsAllowed(true)
end
|