<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Отключение акселерации мыши]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12270&amp;type=atom" />
	<updated>2017-01-05T00:29:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12270</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отключение акселерации мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110537#p110537" />
			<content type="html"><![CDATA[<p>Спасибо Вам <strong>Malcev</strong> всё работает.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2017-01-05T00:29:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110537#p110537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отключение акселерации мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110461#p110461" />
			<content type="html"><![CDATA[<p>Можно в цикле проверять включена ли акселерация и если включена - отключать ее.<br /></p><div class="codebox"><pre><code>loop
{
   SPI_GETMOUSE(accel, low, high)
   if accel
      SPI_SETMOUSE(!accel)
   sleep 200
}
return



; Get mouse acceleration level and low/high thresholds.
; Returns true on success and false on failure.
SPI_GETMOUSE(ByRef accel, ByRef low=&quot;&quot;, ByRef high=&quot;&quot;)
{
    VarSetCapacity(vValue, 12)
    if !DllCall(&quot;SystemParametersInfo&quot;, &quot;uint&quot;, 3, &quot;uint&quot;, 0, &quot;uint&quot;, &amp;vValue, &quot;uint&quot;, 0)
        return false ; Fail.
    low := NumGet(vValue, 0)
    high := NumGet(vValue, 4)
    accel := NumGet(vValue, 8)
    return true
}

; Set mouse acceleration level and low/high thresholds.
; Supplies standard default values for low/high if omitted.
; fWinIni:  0 or one of the following values:
;           1 to update the user profile
;           2 to notify applications
;           3 to do both.
; Returns true on success and false on failure.
SPI_SETMOUSE(accel, low=&quot;&quot;, high=&quot;&quot;, fWinIni=3)
{
    VarSetCapacity(vValue, 12)
    , NumPut(accel
    , NumPut(high!=&quot;&quot; ? high : accel ? 10 : 0
    , NumPut(low!=&quot;&quot; ? low : accel ? 6 : 0, vValue)))
    return 0!=DllCall(&quot;SystemParametersInfo&quot;, &quot;uint&quot;, 4, &quot;uint&quot;, 0, &quot;uint&quot;, &amp;vValue, &quot;uint&quot;, fWinIni)
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-01-02T20:41:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110461#p110461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отключение акселерации мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110443#p110443" />
			<content type="html"><![CDATA[<p><strong>Foma</strong> - Да точно нет отдельной настройки.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2017-01-01T21:46:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110443#p110443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отключение акселерации мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110432#p110432" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>тем самым отключив акселерацию</p></blockquote></div><p>А точно? Нет отдельной настройки для акселерации?</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2017-01-01T13:58:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110432#p110432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Отключение акселерации мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110424#p110424" />
			<content type="html"><![CDATA[<p>Доброго времени суток . В настройках мыши снял галочку с пункта включить повышенную точность тем самым отключив акселерацию , но мышь оказалась мудрёная время от времени она сама включает акселерации.С помощью <a href="http://bme.clan.su/load/0-0-0-6-20\"><strong>этого</strong></a> файла отключил акселерацию а она всё равно&nbsp; включает акселерацию.Проверял мышь на акселерацию с помощью <a href="https://yadi.sk/d/wcoOMwkpTXwgj\"><strong>этой</strong></a> программы.Помогите пожалуйста отключить акселерацию совсем.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2017-01-01T04:01:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110424#p110424</id>
		</entry>
</feed>
