⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settings.txt

📁 Example of using HTC sensor api to get Light sensor value and set backlight level in modern HTC phon
💻 TXT
字号:
////////////////////////////// L*U*M*O*S /////////////////////////////v09////////////////////////////////by NIKER - Elite Force///////////////////////////////** You need to disable built-in auto-backlight or this won't probably work **///// Unlike other applicatios, this program doesn't use current light values but interpolates between 4 last reads, keep this on mind while setting up, last 4 reads are averaged to eliminate luminosity spikes and thus save power.// 1 = Enable Lumos while charging// 0 = Disable Lumos while chargingUSE_ON_AC_POWER = 1// Minimum possible lumens reading from the sensor(raphael 0)MIN_BL_LUMENS = 0// Maximum possible lumens reading from the sensor (raphael about 750)MAX_BL_LUMENS = 200// You can effectively cap minimum and maximum range of backlight changes here. Minimum backlight you want to automatically set (1 is lowest on raphael). Maximum backlight you want to automatically set (10 is highest on raphael). MIN_BACKLIGHT = 3MAX_BACKLIGHT = 10// Delay between sensor reads in ms (default 1500), more saves battery power but provides slower response on light change. Less means smoother and faster backlight changes but may require excessive amout of CPU time and battery. NOTE that this is interval of reading sensor and setting up display is set in multiplies of this interval.POLLING_INTERVAL = 1000// How many polls to wait before display brighntess is set? 0 means on every poll, 1 means on every second poll, 2 means on every 3rd poll. (default 1). Higher values conserve battery power but increase the delay between backlight changes.EXTRA_POLLS_BEFORE_SET = 1// Display backlight tolerance means the brighntess will not change until a change higher than this value is required. Example: brightness is 4 and tolerance 1, new brightness is 5 (5-4=1 -> discarted),new brightness is 6 (6-4=2 -> set). This conserves battery power on only mild light condition changes.BACKLIGHT_TOLERANCE = 0// Disregard the MIN/MAX_BACKLIGHT under this luminosity value and set minimal possible brightness  (0 to disable)DIM_TO_MINIMUM_BELOW = 0// Disregard the MIN/MAX_BACKLIGHT under this luminosity value and set second minimal possible brightness (min+1) (0 to disable)DIM_TO_MINIMUM_PLUS_ONE_BELOW = 0// apply exception only for active window (extra pinvoke overhead)EXCEPTION_ONLY_ACTIVE_WINDOW = 1// Sample program exceptions (Remove the //):// EXCPRG:   Window Name,    brightness_level// EXCPRG:   MemMaid,    10// Sample class exception, 2 possible variants, CLS=classname only, CLP=classname+windowname (Remove the //):// EXCCLS:   class_Name,    5// EXCCLP:   class_Name,    7// LumosWizard generated program exceptions:EXCPRG: Яндекс.Карты , 1EXCCLS: iGO 8 , 1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -