sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget*/translations/zh_CN/input/devices/sentelicmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/zh_TW/input/devices/sentelicmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/it_IT/input/devices/sentelicmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/ja_JP/input/devices/sentelicmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/ko_KR/input/devices/sentelicmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/sp_SP/input/devices/sentelicmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h4This data file has been placed in the public domain.h]h4This data file has been placed in the public domain.}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhho/srv/docbuild/lib/venvs/build-kernel-docs/lib64/python3.9/site-packages/docutils/parsers/rst/include/isonum.txthKubh)}(hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .h]hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhhhhKubhsubstitution_definition)}(h*.. |amp| unicode:: U+00026 .. AMPERSANDh]h&}hhsbah}(h]h ]h"]ampah$]h&]uh1hhhhKhhhhubh)}(h+.. |apos| unicode:: U+00027 .. APOSTROPHEh]h'}hhsbah}(h]h ]h"]aposah$]h&]uh1hhhhKhhhhubh)}(h).. |ast| unicode:: U+0002A .. ASTERISKh]h*}hhsbah}(h]h ]h"]astah$]h&]uh1hhhhK hhhhubh)}(h+.. |brvbar| unicode:: U+000A6 .. BROKEN BARh]h¦}hhsbah}(h]h ]h"]brvbarah$]h&]uh1hhhhK hhhhubh)}(h0.. |bsol| unicode:: U+0005C .. REVERSE SOLIDUSh]h\}hjsbah}(h]h ]h"]bsolah$]h&]uh1hhhhK hhhhubh)}(h*.. |cent| unicode:: U+000A2 .. CENT SIGNh]h¢}hjsbah}(h]h ]h"]centah$]h&]uh1hhhhK hhhhubh)}(h&.. |colon| unicode:: U+0003A .. COLONh]h:}hjsbah}(h]h ]h"]colonah$]h&]uh1hhhhK hhhhubh)}(h&.. |comma| unicode:: U+0002C .. COMMAh]h,}hj-sbah}(h]h ]h"]commaah$]h&]uh1hhhhKhhhhubh)}(h... |commat| unicode:: U+00040 .. COMMERCIAL ATh]h@}hj<sbah}(h]h ]h"]commatah$]h&]uh1hhhhKhhhhubh)}(h/.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGNh]h©}hjKsbah}(h]h ]h"]copyah$]h&]uh1hhhhKhhhhubh)}(h... |curren| unicode:: U+000A4 .. CURRENCY SIGNh]h¤}hjZsbah}(h]h ]h"]currenah$]h&]uh1hhhhKhhhhubh)}(h0.. |darr| unicode:: U+02193 .. DOWNWARDS ARROWh]h↓}hjisbah}(h]h ]h"]darrah$]h&]uh1hhhhKhhhhubh)}(h,.. |deg| unicode:: U+000B0 .. DEGREE SIGNh]h°}hjxsbah}(h]h ]h"]degah$]h&]uh1hhhhKhhhhubh)}(h... |divide| unicode:: U+000F7 .. DIVISION SIGNh]h÷}hjsbah}(h]h ]h"]divideah$]h&]uh1hhhhKhhhhubh)}(h,.. |dollar| unicode:: U+00024 .. DOLLAR SIGNh]h$}hjsbah}(h]h ]h"]dollarah$]h&]uh1hhhhKhhhhubh)}(h,.. |equals| unicode:: U+0003D .. EQUALS SIGNh]h=}hjsbah}(h]h ]h"]equalsah$]h&]uh1hhhhKhhhhubh)}(h1.. |excl| unicode:: U+00021 .. EXCLAMATION MARKh]h!}hjsbah}(h]h ]h"]exclah$]h&]uh1hhhhKhhhhubh)}(h9.. |frac12| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hjsbah}(h]h ]h"]frac12ah$]h&]uh1hhhhKhhhhubh)}(h<.. |frac14| unicode:: U+000BC .. VULGAR FRACTION ONE QUARTERh]h¼}hjsbah}(h]h ]h"]frac14ah$]h&]uh1hhhhKhhhhubh)}(h;.. |frac18| unicode:: U+0215B .. VULGAR FRACTION ONE EIGHTHh]h⅛}hjsbah}(h]h ]h"]frac18ah$]h&]uh1hhhhKhhhhubh)}(h?.. |frac34| unicode:: U+000BE .. VULGAR FRACTION THREE QUARTERSh]h¾}hjsbah}(h]h ]h"]frac34ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac38| unicode:: U+0215C .. VULGAR FRACTION THREE EIGHTHSh]h⅜}hjsbah}(h]h ]h"]frac38ah$]h&]uh1hhhhKhhhhubh)}(h=.. |frac58| unicode:: U+0215D .. VULGAR FRACTION FIVE EIGHTHSh]h⅝}hjsbah}(h]h ]h"]frac58ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac78| unicode:: U+0215E .. VULGAR FRACTION SEVEN EIGHTHSh]h⅞}hjsbah}(h]h ]h"]frac78ah$]h&]uh1hhhhKhhhhubh)}(h2.. |gt| unicode:: U+0003E .. GREATER-THAN SIGNh]h>}hj,sbah}(h]h ]h"]gtah$]h&]uh1hhhhKhhhhubh)}(h9.. |half| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hj;sbah}(h]h ]h"]halfah$]h&]uh1hhhhK hhhhubh)}(h/.. |horbar| unicode:: U+02015 .. HORIZONTAL BARh]h―}hjJsbah}(h]h ]h"]horbarah$]h&]uh1hhhhK!hhhhubh)}(h'.. |hyphen| unicode:: U+02010 .. HYPHENh]h‐}hjYsbah}(h]h ]h"]hyphenah$]h&]uh1hhhhK"hhhhubh)}(h:.. |iexcl| unicode:: U+000A1 .. INVERTED EXCLAMATION MARKh]h¡}hjhsbah}(h]h ]h"]iexclah$]h&]uh1hhhhK#hhhhubh)}(h7.. |iquest| unicode:: U+000BF .. INVERTED QUESTION MARKh]h¿}hjwsbah}(h]h ]h"]iquestah$]h&]uh1hhhhK$hhhhubh)}(hJ.. |laquo| unicode:: U+000AB .. LEFT-POINTING DOUBLE ANGLE QUOTATION MARKh]h«}hjsbah}(h]h ]h"]laquoah$]h&]uh1hhhhK%hhhhubh)}(h0.. |larr| unicode:: U+02190 .. LEFTWARDS ARROWh]h←}hjsbah}(h]h ]h"]larrah$]h&]uh1hhhhK&hhhhubh)}(h3.. |lcub| unicode:: U+0007B .. LEFT CURLY BRACKETh]h{}hjsbah}(h]h ]h"]lcubah$]h&]uh1hhhhK'hhhhubh)}(h;.. |ldquo| unicode:: U+0201C .. LEFT DOUBLE QUOTATION MARKh]h“}hjsbah}(h]h ]h"]ldquoah$]h&]uh1hhhhK(hhhhubh)}(h).. |lowbar| unicode:: U+0005F .. LOW LINEh]h_}hjsbah}(h]h ]h"]lowbarah$]h&]uh1hhhhK)hhhhubh)}(h1.. |lpar| unicode:: U+00028 .. LEFT PARENTHESISh]h(}hjsbah}(h]h ]h"]lparah$]h&]uh1hhhhK*hhhhubh)}(h4.. |lsqb| unicode:: U+0005B .. LEFT SQUARE BRACKETh]h[}hjsbah}(h]h ]h"]lsqbah$]h&]uh1hhhhK+hhhhubh)}(h;.. |lsquo| unicode:: U+02018 .. LEFT SINGLE QUOTATION MARKh]h‘}hjsbah}(h]h ]h"]lsquoah$]h&]uh1hhhhK,hhhhubh)}(h/.. |lt| unicode:: U+0003C .. LESS-THAN SIGNh]h<}hjsbah}(h]h ]h"]ltah$]h&]uh1hhhhK-hhhhubh)}(h+.. |micro| unicode:: U+000B5 .. MICRO SIGNh]hµ}hj sbah}(h]h ]h"]microah$]h&]uh1hhhhK.hhhhubh)}(h+.. |middot| unicode:: U+000B7 .. MIDDLE DOTh]h·}hjsbah}(h]h ]h"]middotah$]h&]uh1hhhhK/hhhhubh)}(h/.. |nbsp| unicode:: U+000A0 .. NO-BREAK SPACEh]h }hj+sbah}(h]h ]h"]nbspah$]h&]uh1hhhhK0hhhhubh)}(h).. |not| unicode:: U+000AC .. NOT SIGNh]h¬}hj:sbah}(h]h ]h"]notah$]h&]uh1hhhhK1hhhhubh)}(h,.. |num| unicode:: U+00023 .. NUMBER SIGNh]h#}hjIsbah}(h]h ]h"]numah$]h&]uh1hhhhK2hhhhubh)}(h).. |ohm| unicode:: U+02126 .. OHM SIGNh]hΩ}hjXsbah}(h]h ]h"]ohmah$]h&]uh1hhhhK3hhhhubh)}(h;.. |ordf| unicode:: U+000AA .. FEMININE ORDINAL INDICATORh]hª}hjgsbah}(h]h ]h"]ordfah$]h&]uh1hhhhK4hhhhubh)}(h<.. |ordm| unicode:: U+000BA .. MASCULINE ORDINAL INDICATORh]hº}hjvsbah}(h]h ]h"]ordmah$]h&]uh1hhhhK5hhhhubh)}(h-.. |para| unicode:: U+000B6 .. PILCROW SIGNh]h¶}hjsbah}(h]h ]h"]paraah$]h&]uh1hhhhK6hhhhubh)}(h-.. |percnt| unicode:: U+00025 .. PERCENT SIGNh]h%}hjsbah}(h]h ]h"]percntah$]h&]uh1hhhhK7hhhhubh)}(h*.. |period| unicode:: U+0002E .. FULL STOPh]h.}hjsbah}(h]h ]h"]periodah$]h&]uh1hhhhK8hhhhubh)}(h*.. |plus| unicode:: U+0002B .. PLUS SIGNh]h+}hjsbah}(h]h ]h"]plusah$]h&]uh1hhhhK9hhhhubh)}(h0.. |plusmn| unicode:: U+000B1 .. PLUS-MINUS SIGNh]h±}hjsbah}(h]h ]h"]plusmnah$]h&]uh1hhhhK:hhhhubh)}(h+.. |pound| unicode:: U+000A3 .. POUND SIGNh]h£}hjsbah}(h]h ]h"]poundah$]h&]uh1hhhhK;hhhhubh)}(h... |quest| unicode:: U+0003F .. QUESTION MARKh]h?}hjsbah}(h]h ]h"]questah$]h&]uh1hhhhKhhhhubh)}(h1.. |rarr| unicode:: U+02192 .. RIGHTWARDS ARROWh]h→}hj sbah}(h]h ]h"]rarrah$]h&]uh1hhhhK?hhhhubh)}(h4.. |rcub| unicode:: U+0007D .. RIGHT CURLY BRACKETh]h}}hjsbah}(h]h ]h"]rcubah$]h&]uh1hhhhK@hhhhubh)}(h<.. |rdquo| unicode:: U+0201D .. RIGHT DOUBLE QUOTATION MARKh]h”}hj*sbah}(h]h ]h"]rdquoah$]h&]uh1hhhhKAhhhhubh)}(h0.. |reg| unicode:: U+000AE .. REGISTERED SIGNh]h®}hj9sbah}(h]h ]h"]regah$]h&]uh1hhhhKBhhhhubh)}(h2.. |rpar| unicode:: U+00029 .. RIGHT PARENTHESISh]h)}hjHsbah}(h]h ]h"]rparah$]h&]uh1hhhhKChhhhubh)}(h5.. |rsqb| unicode:: U+0005D .. RIGHT SQUARE BRACKETh]h]}hjWsbah}(h]h ]h"]rsqbah$]h&]uh1hhhhKDhhhhubh)}(h<.. |rsquo| unicode:: U+02019 .. RIGHT SINGLE QUOTATION MARKh]h’}hjfsbah}(h]h ]h"]rsquoah$]h&]uh1hhhhKEhhhhubh)}(h-.. |sect| unicode:: U+000A7 .. SECTION SIGNh]h§}hjusbah}(h]h ]h"]sectah$]h&]uh1hhhhKFhhhhubh)}(h*.. |semi| unicode:: U+0003B .. SEMICOLONh]h;}hjsbah}(h]h ]h"]semiah$]h&]uh1hhhhKGhhhhubh)}(h,.. |shy| unicode:: U+000AD .. SOFT HYPHENh]h­}hjsbah}(h]h ]h"]shyah$]h&]uh1hhhhKHhhhhubh)}(h(.. |sol| unicode:: U+0002F .. SOLIDUSh]h/}hjsbah}(h]h ]h"]solah$]h&]uh1hhhhKIhhhhubh)}(h,.. |sung| unicode:: U+0266A .. EIGHTH NOTEh]h♪}hjsbah}(h]h ]h"]sungah$]h&]uh1hhhhKJhhhhubh)}(h0.. |sup1| unicode:: U+000B9 .. SUPERSCRIPT ONEh]h¹}hjsbah}(h]h ]h"]sup1ah$]h&]uh1hhhhKKhhhhubh)}(h0.. |sup2| unicode:: U+000B2 .. SUPERSCRIPT TWOh]h²}hjsbah}(h]h ]h"]sup2ah$]h&]uh1hhhhKLhhhhubh)}(h2.. |sup3| unicode:: U+000B3 .. SUPERSCRIPT THREEh]h³}hjsbah}(h]h ]h"]sup3ah$]h&]uh1hhhhKMhhhhubh)}(h4.. |times| unicode:: U+000D7 .. MULTIPLICATION SIGNh]h×}hjsbah}(h]h ]h"]timesah$]h&]uh1hhhhKNhhhhubh)}(h0.. |trade| unicode:: U+02122 .. TRADE MARK SIGNh]h™}hjsbah}(h]h ]h"]tradeah$]h&]uh1hhhhKOhhhhubh)}(h... |uarr| unicode:: U+02191 .. UPWARDS ARROWh]h↑}hj sbah}(h]h ]h"]uarrah$]h&]uh1hhhhKPhhhhubh)}(h... |verbar| unicode:: U+0007C .. VERTICAL LINEh]h|}hjsbah}(h]h ]h"]verbarah$]h&]uh1hhhhKQhhhhubh)}(h*.. |yen| unicode:: U+000A5 .. YEN SIGN h]h¥}hj)sbah}(h]h ]h"]yenah$]h&]uh1hhhhKRhhhhubhsection)}(hhh](htitle)}(hSentelic Touchpadh]hSentelic Touchpad}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj:hhhD/var/lib/git/docbuild/linux/Documentation/input/devices/sentelic.rsthKubh field_list)}(hhh](hfield)}(hhh](h field_name)}(h Copyrighth]h Copyright}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjUhjMhKubh field_body)}(h'|copy| 2002-2011 Sentelic Corporation. h]h paragraph)}(h&|copy| 2002-2011 Sentelic Corporation.h](h©}(hjphhhNhNubh 2002-2011 Sentelic Corporation.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jnhjMhKhjjubah}(h]h ]h"]h$]h&]uh1jhhjUubeh}(h]h ]h"]h$]h&]uh1jShjMhKhjPhhubjT)}(hhh](jY)}(h Last updateh]h Last update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jXhjhjMhKubji)}(h Dec-07-2011 h]jo)}(h Dec-07-2011h]h Dec-07-2011}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhK hjubah}(h]h ]h"]h$]h&]uh1jhhjubeh}(h]h ]h"]h$]h&]uh1jShjMhK hjPhhubeh}(h]h ]h"]h$]h&]uh1jNhj:hhhjMhKubj9)}(hhh](j>)}(hKFinger Sensing Pad Intellimouse Mode (scrolling wheel, 4th and 5th buttons)h]hKFinger Sensing Pad Intellimouse Mode (scrolling wheel, 4th and 5th buttons)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjhhhjMhK ubhenumerated_list)}(hhh]h list_item)}(hZMSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward page (5th button) h]jo)}(hYMSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward page (5th button)h]hYMSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward page (5th button)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubah}(h]h ]h"]h$]h&]enumtype upperalphaprefixhsuffix)uh1jhjhhhjMhKubj)}(hhh](j)}(hSet sample rate to 200;h]jo)}(hjh]hSet sample rate to 200;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubj)}(hSet sample rate to 200;h]jo)}(hjh]hSet sample rate to 200;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubj)}(hSet sample rate to 80;h]jo)}(hj1h]hSet sample rate to 80;}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhj/ubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubj)}(hFIssuing the "Get device ID" command (0xF2) and waits for the response;h]jo)}(hjHh]hJIssuing the “Get device ID” command (0xF2) and waits for the response;}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhjFubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubj)}(hFSP will respond 0x04. h]jo)}(hFSP will respond 0x04.h]hFSP will respond 0x04.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhj]ubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubeh}(h]h ]h"]h$]h&]jarabicjhj.uh1jhjhhhjMhKubh literal_block)}(hXlPacket 1 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|W|W|W|W| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7 => Y overflow Bit6 => X overflow Bit5 => Y sign bit Bit4 => X sign bit Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X Movement(9-bit 2's complement integers) Byte 3: Y Movement(9-bit 2's complement integers) Byte 4: Bit3~Bit0 => the scrolling wheel's movement since the last data report. valid values, -8 ~ +7 Bit4 => 1 = 4th mouse button is pressed, Forward one page. 0 = 4th mouse button is not pressed. Bit5 => 1 = 5th mouse button is pressed, Backward one page. 0 = 5th mouse button is not pressed.h]hXlPacket 1 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|W|W|W|W| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7 => Y overflow Bit6 => X overflow Bit5 => Y sign bit Bit4 => X sign bit Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X Movement(9-bit 2's complement integers) Byte 3: Y Movement(9-bit 2's complement integers) Byte 4: Bit3~Bit0 => the scrolling wheel's movement since the last data report. valid values, -8 ~ +7 Bit4 => 1 = 4th mouse button is pressed, Forward one page. 0 = 4th mouse button is not pressed. Bit5 => 1 = 5th mouse button is pressed, Backward one page. 0 = 5th mouse button is not pressed.}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhKhjhhubj)}(hhh]j)}(h*MSID 6: Horizontal and Vertical scrolling h]jo)}(h)MSID 6: Horizontal and Vertical scrollingh]h)MSID 6: Horizontal and Vertical scrolling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhK1hjubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubah}(h]h ]h"]h$]h&]jjjhjjstartKuh1jhjhhhjMhK1ubh bullet_list)}(hhh]j)}(h Set bit 1 in register 0x40 to 1 h]jo)}(hSet bit 1 in register 0x40 to 1h]hSet bit 1 in register 0x40 to 1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhK3hjubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubah}(h]h ]h"]h$]h&]bullet-uh1jhjMhK3hjhhubjo)}(h\FSP replaces scrolling wheel's movement as 4 bits to show horizontal and vertical scrolling.h]h^FSP replaces scrolling wheel’s movement as 4 bits to show horizontal and vertical scrolling.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhK5hjhhubj~)}(hXPacket 1 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|r|l|u|d| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7 => Y overflow Bit6 => X overflow Bit5 => Y sign bit Bit4 => X sign bit Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X Movement(9-bit 2's complement integers) Byte 3: Y Movement(9-bit 2's complement integers) Byte 4: Bit0 => the Vertical scrolling movement downward. Bit1 => the Vertical scrolling movement upward. Bit2 => the Horizontal scrolling movement leftward. Bit3 => the Horizontal scrolling movement rightward. Bit4 => 1 = 4th mouse button is pressed, Forward one page. 0 = 4th mouse button is not pressed. Bit5 => 1 = 5th mouse button is pressed, Backward one page. 0 = 5th mouse button is not pressed.h]hXPacket 1 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|r|l|u|d| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7 => Y overflow Bit6 => X overflow Bit5 => Y sign bit Bit4 => X sign bit Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X Movement(9-bit 2's complement integers) Byte 3: Y Movement(9-bit 2's complement integers) Byte 4: Bit0 => the Vertical scrolling movement downward. Bit1 => the Vertical scrolling movement upward. Bit2 => the Horizontal scrolling movement leftward. Bit3 => the Horizontal scrolling movement rightward. Bit4 => 1 = 4th mouse button is pressed, Forward one page. 0 = 4th mouse button is not pressed. Bit5 => 1 = 5th mouse button is pressed, Backward one page. 0 = 5th mouse button is not pressed.}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhK:hjhhubj)}(hhh]j)}(hMSID 7 h]jo)}(hMSID 7h]hMSID 7}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKShjubah}(h]h ]h"]h$]h&]uh1jhjhhhjMhNubah}(h]h ]h"]h$]h&]jjjhjjjKuh1jhjhhhjMhKSubjo)}(hjFSP uses 2 packets (8 Bytes) to represent Absolute Position. so we have PACKET NUMBER to identify packets.h]hjFSP uses 2 packets (8 Bytes) to represent Absolute Position. so we have PACKET NUMBER to identify packets.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKUhjhhubh block_quote)}(hIf PACKET NUMBER is 0, the packet is Packet 1. If PACKET NUMBER is 1, the packet is Packet 2. Please count this number in program. h]jo)}(hIf PACKET NUMBER is 0, the packet is Packet 1. If PACKET NUMBER is 1, the packet is Packet 2. Please count this number in program.h]hIf PACKET NUMBER is 0, the packet is Packet 1. If PACKET NUMBER is 1, the packet is Packet 2. Please count this number in program.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKXhj!ubah}(h]h ]h"]h$]h&]uh1jhjMhKXhjhhubjo)}(hHMSID6 special packet will be enable at the same time when enable MSID 7.h]hHMSID6 special packet will be enable at the same time when enable MSID 7.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhK\hjhhubeh}(h]Hfinger-sensing-pad-intellimouse-mode-scrolling-wheel-4th-and-5th-buttonsah ]h"]Kfinger sensing pad intellimouse mode (scrolling wheel, 4th and 5th buttons)ah$]h&]uh1j8hj:hhhjMhK ubj9)}(hhh](j>)}(h Absolute position for STL3886-G0h]h Absolute position for STL3886-G0}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjOhhhjMhK_ubj)}(hhh](j)}(h$Set bit 2 or 3 in register 0x40 to 1h]jo)}(hjeh]h$Set bit 2 or 3 in register 0x40 to 1}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKahjcubah}(h]h ]h"]h$]h&]uh1jhj`hhhjMhNubj)}(h Set bit 6 in register 0x40 to 1 h]jo)}(hSet bit 6 in register 0x40 to 1h]hSet bit 6 in register 0x40 to 1}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKbhjzubah}(h]h ]h"]h$]h&]uh1jhj`hhhjMhNubeh}(h]h ]h"]h$]h&]jj{jhjj|uh1jhjOhhhjMhKaubj~)}(hXPacket 1 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|1|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|d|u|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet Bit5 => valid bit Bit4 => 1 Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => scroll up Bit5 => scroll down Bit6 => scroll left Bit7 => scroll right Notify Packet for G0 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|0|1|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |M|M|M|M|M|M|M|M| 4 |0|0|0|0|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet Bit5 => 0 Bit4 => 1 Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message Type => 0x5A (Enable/Disable status packet) Mode Type => 0xA5 (Normal/Icon mode status) Byte 3: Message Type => 0x00 (Disabled) => 0x01 (Enabled) Mode Type => 0x00 (Normal) => 0x01 (Icon) Byte 4: Bit7~Bit0 => Don't Careh]hXPacket 1 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|1|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|d|u|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet Bit5 => valid bit Bit4 => 1 Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => scroll up Bit5 => scroll down Bit6 => scroll left Bit7 => scroll right Notify Packet for G0 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|0|1|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |M|M|M|M|M|M|M|M| 4 |0|0|0|0|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet Bit5 => 0 Bit4 => 1 Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message Type => 0x5A (Enable/Disable status packet) Mode Type => 0xA5 (Normal/Icon mode status) Byte 3: Message Type => 0x00 (Disabled) => 0x01 (Enabled) Mode Type => 0x00 (Normal) => 0x01 (Icon) Byte 4: Bit7~Bit0 => Don't Care}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhKfhjOhhubeh}(h] absolute-position-for-stl3886-g0ah ]h"] absolute position for stl3886-g0ah$]h&]uh1j8hj:hhhjMhK_ubj9)}(hhh](j>)}(h Absolute position for STL3888-Axh]h Absolute position for STL3888-Ax}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjhhhjMhKubj~)}(hXPacket 1 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|A|1|L|0|1| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |x|x|y|y|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => arc Bit3 => 1 Bit2 => Left Button, 1 is pressed, 0 is released. Bit1 => 0 Bit0 => 1 Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit5~Bit4 => y1_g Bit7~Bit6 => x1_g Packet 2 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|A|1|R|1|0| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |x|x|y|y|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => arc Bit3 => 1 Bit2 => Right Button, 1 is pressed, 0 is released. Bit1 => 1 Bit0 => 0 Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit5~Bit4 => y2_g Bit7~Bit6 => x2_g Notify Packet for STL3888-Ax Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|1|P|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |0|0|F|F|0|0|0|i| 4 |r|l|d|u|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => 1 Bit4 => when in absolute coordinates mode (valid when EN_PKT_GO is 1): 0: left button is generated by the on-pad command 1: left button is generated by the external button Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message Type => 0xB7 (Multi Finger, Multi Coordinate mode) Byte 3: Bit7~Bit6 => Don't care Bit5~Bit4 => Number of fingers Bit3~Bit1 => Reserved Bit0 => 1: enter gesture mode; 0: leaving gesture mode Byte 4: Bit7 => scroll right button Bit6 => scroll left button Bit5 => scroll down button Bit4 => scroll up button * Note that if gesture and additional button (Bit4~Bit7) happen at the same time, the button information will not be sent. Bit3~Bit0 => Reservedh]hXPacket 1 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|A|1|L|0|1| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |x|x|y|y|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => arc Bit3 => 1 Bit2 => Left Button, 1 is pressed, 0 is released. Bit1 => 0 Bit0 => 1 Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit5~Bit4 => y1_g Bit7~Bit6 => x1_g Packet 2 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|A|1|R|1|0| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |x|x|y|y|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => arc Bit3 => 1 Bit2 => Right Button, 1 is pressed, 0 is released. Bit1 => 1 Bit0 => 0 Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit5~Bit4 => y2_g Bit7~Bit6 => x2_g Notify Packet for STL3888-Ax Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|1|P|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |0|0|F|F|0|0|0|i| 4 |r|l|d|u|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => 1 Bit4 => when in absolute coordinates mode (valid when EN_PKT_GO is 1): 0: left button is generated by the on-pad command 1: left button is generated by the external button Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message Type => 0xB7 (Multi Finger, Multi Coordinate mode) Byte 3: Bit7~Bit6 => Don't care Bit5~Bit4 => Number of fingers Bit3~Bit1 => Reserved Bit0 => 1: enter gesture mode; 0: leaving gesture mode Byte 4: Bit7 => scroll right button Bit6 => scroll left button Bit5 => scroll down button Bit4 => scroll up button * Note that if gesture and additional button (Bit4~Bit7) happen at the same time, the button information will not be sent. Bit3~Bit0 => Reserved}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhKhjhhubjo)}(h7Sample sequence of Multi-finger, Multi-coordinate mode:h]h7Sample sequence of Multi-finger, Multi-coordinate mode:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhjhhubj )}(hpnotify packet (valid bit == 1), abs pkt 1, abs pkt 2, abs pkt 1, abs pkt 2, ..., notify packet (valid bit == 0) h]jo)}(honotify packet (valid bit == 1), abs pkt 1, abs pkt 2, abs pkt 1, abs pkt 2, ..., notify packet (valid bit == 0)h]honotify packet (valid bit == 1), abs pkt 1, abs pkt 2, abs pkt 1, abs pkt 2, ..., notify packet (valid bit == 0)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhKhjubah}(h]h ]h"]h$]h&]uh1jhjMhKhjhhubeh}(h] absolute-position-for-stl3888-axah ]h"] absolute position for stl3888-axah$]h&]uh1j8hj:hhhjMhKubj9)}(hhh](j>)}(h Absolute position for STL3888-B0h]h Absolute position for STL3888-B0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjhhhjMhKubj~)}(hXv Packet 1(ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|F|1|0|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|u|d|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => finger up/down information. 1: finger down, 0: finger up. Bit3 => 1 Bit2 => finger index, 0 is the first finger, 1 is the second finger. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => scroll down button Bit5 => scroll up button Bit6 => scroll left button Bit7 => scroll right button Packet 2 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|F|1|1|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|u|d|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => finger up/down information. 1: finger down, 0: finger up. Bit3 => 1 Bit2 => finger index, 0 is the first finger, 1 is the second finger. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => scroll down button Bit5 => scroll up button Bit6 => scroll left button Bit7 => scroll right buttonh]hXv Packet 1(ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|F|1|0|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|u|d|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => finger up/down information. 1: finger down, 0: finger up. Bit3 => 1 Bit2 => finger index, 0 is the first finger, 1 is the second finger. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => scroll down button Bit5 => scroll up button Bit6 => scroll left button Bit7 => scroll right button Packet 2 (ABSOLUTE POSITION) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|V|F|1|1|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|u|d|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up. When both fingers are up, the last two reports have zero valid bit. Bit4 => finger up/down information. 1: finger down, 0: finger up. Bit3 => 1 Bit2 => finger index, 0 is the first finger, 1 is the second finger. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => scroll down button Bit5 => scroll up button Bit6 => scroll left button Bit7 => scroll right button}hj sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhKhjhhubjo)}(hNotify Packet for STL3888-B0::h]hNotify Packet for STL3888-B0:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM,hjhhubj~)}(hXBit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|1|P|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |0|0|F|F|0|0|0|i| 4 |r|l|u|d|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => 1 Bit4 => when in absolute coordinates mode (valid when EN_PKT_GO is 1): 0: left button is generated by the on-pad command 1: left button is generated by the external button Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message Type => 0xB7 (Multi Finger, Multi Coordinate mode) Byte 3: Bit7~Bit6 => Don't care Bit5~Bit4 => Number of fingers Bit3~Bit1 => Reserved Bit0 => 1: enter gesture mode; 0: leaving gesture mode Byte 4: Bit7 => scroll right button Bit6 => scroll left button Bit5 => scroll up button Bit4 => scroll down button * Note that if gesture and additional button(Bit4~Bit7) happen at the same time, the button information will not be sent. Bit3~Bit0 => Reservedh]hXBit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|1|P|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |0|0|F|F|0|0|0|i| 4 |r|l|u|d|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet => 11, Normal data packet with on-pad click Bit5 => 1 Bit4 => when in absolute coordinates mode (valid when EN_PKT_GO is 1): 0: left button is generated by the on-pad command 1: left button is generated by the external button Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message Type => 0xB7 (Multi Finger, Multi Coordinate mode) Byte 3: Bit7~Bit6 => Don't care Bit5~Bit4 => Number of fingers Bit3~Bit1 => Reserved Bit0 => 1: enter gesture mode; 0: leaving gesture mode Byte 4: Bit7 => scroll right button Bit6 => scroll left button Bit5 => scroll up button Bit4 => scroll down button * Note that if gesture and additional button(Bit4~Bit7) happen at the same time, the button information will not be sent. Bit3~Bit0 => Reserved}hj(sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhM.hjhhubjo)}(h7Sample sequence of Multi-finger, Multi-coordinate mode:h]h7Sample sequence of Multi-finger, Multi-coordinate mode:}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMMhjhhubj )}(hpnotify packet (valid bit == 1), abs pkt 1, abs pkt 2, abs pkt 1, abs pkt 2, ..., notify packet (valid bit == 0) h]jo)}(honotify packet (valid bit == 1), abs pkt 1, abs pkt 2, abs pkt 1, abs pkt 2, ..., notify packet (valid bit == 0)h]honotify packet (valid bit == 1), abs pkt 1, abs pkt 2, abs pkt 1, abs pkt 2, ..., notify packet (valid bit == 0)}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMOhjDubah}(h]h ]h"]h$]h&]uh1jhjMhMOhjhhubeh}(h] absolute-position-for-stl3888-b0ah ]h"] absolute position for stl3888-b0ah$]h&]uh1j8hj:hhhjMhKubj9)}(hhh](j>)}(h/Absolute position for STL3888-Cx and STL3888-Dxh]h/Absolute position for STL3888-Cx and STL3888-Dx}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjdhhhjMhMSubj~)}(hX7 Single Finger, Absolute Coordinate Mode (SFAC) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|0|P|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|B|F|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet Bit5 => Coordinate mode(always 0 in SFAC mode): 0: single-finger absolute coordinates (SFAC) mode 1: multi-finger, multiple coordinates (MFMC) mode Bit4 => 0: The LEFT button is generated by on-pad command (OPC) 1: The LEFT button is generated by external button Default is 1 even if the LEFT button is not pressed. Bit3 => Always 1, as specified by PS/2 protocol. Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => 4th mouse button(forward one page) Bit5 => 5th mouse button(backward one page) Bit6 => scroll left button Bit7 => scroll right button Multi Finger, Multiple Coordinates Mode (MFMC): Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|1|P|1|F|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|B|F|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet Bit5 => Coordinate mode (always 1 in MFMC mode): 0: single-finger absolute coordinates (SFAC) mode 1: multi-finger, multiple coordinates (MFMC) mode Bit4 => 0: The LEFT button is generated by on-pad command (OPC) 1: The LEFT button is generated by external button Default is 1 even if the LEFT button is not pressed. Bit3 => Always 1, as specified by PS/2 protocol. Bit2 => Finger index, 0 is the first finger, 1 is the second finger. If bit 1 and 0 are all 1 and bit 4 is 0, the middle external button is pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => 4th mouse button(forward one page) Bit5 => 5th mouse button(backward one page) Bit6 => scroll left button Bit7 => scroll right buttonh]hX7 Single Finger, Absolute Coordinate Mode (SFAC) Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|0|P|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|B|F|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet Bit5 => Coordinate mode(always 0 in SFAC mode): 0: single-finger absolute coordinates (SFAC) mode 1: multi-finger, multiple coordinates (MFMC) mode Bit4 => 0: The LEFT button is generated by on-pad command (OPC) 1: The LEFT button is generated by external button Default is 1 even if the LEFT button is not pressed. Bit3 => Always 1, as specified by PS/2 protocol. Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => 4th mouse button(forward one page) Bit5 => 5th mouse button(backward one page) Bit6 => scroll left button Bit7 => scroll right button Multi Finger, Multiple Coordinates Mode (MFMC): Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |0|1|1|P|1|F|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 |r|l|B|F|X|X|Y|Y| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordination packet => 10, Notify packet Bit5 => Coordinate mode (always 1 in MFMC mode): 0: single-finger absolute coordinates (SFAC) mode 1: multi-finger, multiple coordinates (MFMC) mode Bit4 => 0: The LEFT button is generated by on-pad command (OPC) 1: The LEFT button is generated by external button Default is 1 even if the LEFT button is not pressed. Bit3 => Always 1, as specified by PS/2 protocol. Bit2 => Finger index, 0 is the first finger, 1 is the second finger. If bit 1 and 0 are all 1 and bit 4 is 0, the middle external button is pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: X coordinate (xpos[9:2]) Byte 3: Y coordinate (ypos[9:2]) Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0]) Bit3~Bit2 => X coordinate (ypos[1:0]) Bit4 => 4th mouse button(forward one page) Bit5 => 5th mouse button(backward one page) Bit6 => scroll left button Bit7 => scroll right button}hjusbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMWhjdhhubjo)}(hXWhen one of the two fingers is up, the device will output four consecutive MFMC#0 report packets with zero X and Y to represent 1st finger is up or four consecutive MFMC#1 report packets with zero X and Y to represent that the 2nd finger is up. On the other hand, if both fingers are up, the device will output four consecutive single-finger, absolute coordinate(SFAC) packets with zero X and Y.h]hXWhen one of the two fingers is up, the device will output four consecutive MFMC#0 report packets with zero X and Y to represent 1st finger is up or four consecutive MFMC#1 report packets with zero X and Y to represent that the 2nd finger is up. On the other hand, if both fingers are up, the device will output four consecutive single-finger, absolute coordinate(SFAC) packets with zero X and Y.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjdhhubjo)}(h!Notify Packet for STL3888-Cx/Dx::h]h Notify Packet for STL3888-Cx/Dx:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjdhhubj~)}(hXBit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|0|P|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |0|0|F|F|0|0|0|i| 4 |r|l|u|d|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet Bit5 => Always 0 Bit4 => 0: The LEFT button is generated by on-pad command(OPC) 1: The LEFT button is generated by external button Default is 1 even if the LEFT button is not pressed. Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message type: 0xba => gesture information 0xc0 => one finger hold-rotating gesture Byte 3: The first parameter for the received message: 0xba => gesture ID (refer to the 'Gesture ID' section) 0xc0 => region ID Byte 4: The second parameter for the received message: 0xba => N/A 0xc0 => finger up/down informationh]hXBit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |1|0|0|P|1|M|R|L| 2 |C|C|C|C|C|C|C|C| 3 |0|0|F|F|0|0|0|i| 4 |r|l|u|d|0|0|0|0| |---------------| |---------------| |---------------| |---------------| Byte 1: Bit7~Bit6 => 00, Normal data packet => 01, Absolute coordinates packet => 10, Notify packet Bit5 => Always 0 Bit4 => 0: The LEFT button is generated by on-pad command(OPC) 1: The LEFT button is generated by external button Default is 1 even if the LEFT button is not pressed. Bit3 => 1 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. Bit1 => Right Button, 1 is pressed, 0 is not pressed. Bit0 => Left Button, 1 is pressed, 0 is not pressed. Byte 2: Message type: 0xba => gesture information 0xc0 => one finger hold-rotating gesture Byte 3: The first parameter for the received message: 0xba => gesture ID (refer to the 'Gesture ID' section) 0xc0 => region ID Byte 4: The second parameter for the received message: 0xba => N/A 0xc0 => finger up/down information}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMhjdhhubjo)}(h8Sample sequence of Multi-finger, Multi-coordinates mode:h]h8Sample sequence of Multi-finger, Multi-coordinates mode:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjdhhubj )}(hX$notify packet (valid bit == 1), MFMC packet 1 (byte 1, bit 2 == 0), MFMC packet 2 (byte 1, bit 2 == 1), MFMC packet 1, MFMC packet 2, ..., notify packet (valid bit == 0) That is, when the device is in MFMC mode, the host will receive interleaved absolute coordinate packets for each finger. h](jo)}(hnotify packet (valid bit == 1), MFMC packet 1 (byte 1, bit 2 == 0), MFMC packet 2 (byte 1, bit 2 == 1), MFMC packet 1, MFMC packet 2, ..., notify packet (valid bit == 0)h]hnotify packet (valid bit == 1), MFMC packet 1 (byte 1, bit 2 == 0), MFMC packet 2 (byte 1, bit 2 == 1), MFMC packet 1, MFMC packet 2, ..., notify packet (valid bit == 0)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubjo)}(hxThat is, when the device is in MFMC mode, the host will receive interleaved absolute coordinate packets for each finger.h]hxThat is, when the device is in MFMC mode, the host will receive interleaved absolute coordinate packets for each finger.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjdhhubeh}(h]/absolute-position-for-stl3888-cx-and-stl3888-dxah ]h"]/absolute position for stl3888-cx and stl3888-dxah$]h&]uh1j8hj:hhhjMhMSubj9)}(hhh](j>)}(hFSP Enable/Disable packeth]hFSP Enable/Disable packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjhhhjMhMubj~)}(hXBit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |Y|X|0|0|1|M|R|L| 2 |0|1|0|1|1|0|1|E| 3 | | | | | | | | | 4 | | | | | | | | | |---------------| |---------------| |---------------| |---------------| FSP will send out enable/disable packet when FSP receive PS/2 enable/disable command. Host will receive the packet which Middle, Right, Left button will be set. The packet only use byte 0 and byte 1 as a pattern of original packet. Ignore the other bytes of the packet. Byte 1: Bit7 => 0, Y overflow Bit6 => 0, X overflow Bit5 => 0, Y sign bit Bit4 => 0, X sign bit Bit3 => 1 Bit2 => 1, Middle Button Bit1 => 1, Right Button Bit0 => 1, Left Button Byte 2: Bit7~1 => (0101101b) Bit0 => 1 = Enable 0 = Disable Byte 3: Don't care Byte 4: Don't care (MOUSE ID 3, 4) Byte 5~8: Don't care (Absolute packet)h]hXBit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 1 |Y|X|0|0|1|M|R|L| 2 |0|1|0|1|1|0|1|E| 3 | | | | | | | | | 4 | | | | | | | | | |---------------| |---------------| |---------------| |---------------| FSP will send out enable/disable packet when FSP receive PS/2 enable/disable command. Host will receive the packet which Middle, Right, Left button will be set. The packet only use byte 0 and byte 1 as a pattern of original packet. Ignore the other bytes of the packet. Byte 1: Bit7 => 0, Y overflow Bit6 => 0, X overflow Bit5 => 0, Y sign bit Bit4 => 0, X sign bit Bit3 => 1 Bit2 => 1, Middle Button Bit1 => 1, Right Button Bit0 => 1, Left Button Byte 2: Bit7~1 => (0101101b) Bit0 => 1 = Enable 0 = Disable Byte 3: Don't care Byte 4: Don't care (MOUSE ID 3, 4) Byte 5~8: Don't care (Absolute packet)}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMhjhhubeh}(h]fsp-enable-disable-packetah ]h"]fsp enable/disable packetah$]h&]uh1j8hj:hhhjMhMubj9)}(hhh](j>)}(hPS/2 Command Seth]hPS/2 Command Set}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj hhhjMhMubjo)}(hiFSP supports basic PS/2 commanding set and modes, refer to following URL for details about PS/2 commands:h]hiFSP supports basic PS/2 commanding set and modes, refer to following URL for details about PS/2 commands:}(hj! hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj hhubjo)}(h-http://www.computer-engineering.org/ps2mouse/h]h reference)}(hj1 h]h-http://www.computer-engineering.org/ps2mouse/}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]refurij1 uh1j3 hj/ ubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj hhubeh}(h]ps-2-command-setah ]h"]ps/2 command setah$]h&]uh1j8hj:hhhjMhMubj9)}(hhh](j>)}(h8Programming Sequence for Determining Packet Parsing Flowh]h8Programming Sequence for Determining Packet Parsing Flow}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjQ hhhjMhMubj)}(hhh](j)}(hCIdentify FSP by reading device ID(0x00) and version(0x01) register h]jo)}(hBIdentify FSP by reading device ID(0x00) and version(0x01) registerh]hBIdentify FSP by reading device ID(0x00) and version(0x01) register}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhje ubah}(h]h ]h"]h$]h&]uh1jhjb hhhjMhNubj)}(hXFor FSP version < STL3888 Cx, determine number of buttons by reading the 'test mode status' (0x20) register:: buttons = reg[0x20] & 0x30 if buttons == 0x30 or buttons == 0x20: # two/four buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail(ignore byte 4, bit ~ 7) elif buttons == 0x10: # 6 buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section B for packet parsing detail elif buttons == 0x00: # 6 buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail h](jo)}(hmFor FSP version < STL3888 Cx, determine number of buttons by reading the 'test mode status' (0x20) register::h]hpFor FSP version < STL3888 Cx, determine number of buttons by reading the ‘test mode status’ (0x20) register:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj} ubj~)}(hXbuttons = reg[0x20] & 0x30 if buttons == 0x30 or buttons == 0x20: # two/four buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail(ignore byte 4, bit ~ 7) elif buttons == 0x10: # 6 buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section B for packet parsing detail elif buttons == 0x00: # 6 buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail6h]hXbuttons = reg[0x20] & 0x30 if buttons == 0x30 or buttons == 0x20: # two/four buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail(ignore byte 4, bit ~ 7) elif buttons == 0x10: # 6 buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section B for packet parsing detail elif buttons == 0x00: # 6 buttons Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail}hj sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMhj} ubeh}(h]h ]h"]h$]h&]uh1jhjb hhhjMhNubj)}(hFor FSP version >= STL3888 Cx: Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail (ignore byte 4, bit ~ 7) h]hdefinition_list)}(hhh]hdefinition_list_item)}(hFor FSP version >= STL3888 Cx: Refer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail (ignore byte 4, bit ~ 7) h](hterm)}(hFor FSP version >= STL3888 Cx:h]hFor FSP version >= STL3888 Cx:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjMhMhj ubh definition)}(hhh]jo)}(hrRefer to 'Finger Sensing Pad PS/2 Mouse Intellimouse' section A for packet parsing detail (ignore byte 4, bit ~ 7)h]hvRefer to ‘Finger Sensing Pad PS/2 Mouse Intellimouse’ section A for packet parsing detail (ignore byte 4, bit ~ 7)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1j hj ubeh}(h]h ]h"]h$]h&]uh1j hjMhMhj ubah}(h]h ]h"]h$]h&]uh1j hj ubah}(h]h ]h"]h$]h&]uh1jhjb hhhNhNubeh}(h]h ]h"]h$]h&]jj{jhjj|uh1jhjQ hhhjMhMubeh}(h]8programming-sequence-for-determining-packet-parsing-flowah ]h"]8programming sequence for determining packet parsing flowah$]h&]uh1j8hj:hhhjMhMubj9)}(hhh](j>)}(h1Programming Sequence for Register Reading/Writingh]h1Programming Sequence for Register Reading/Writing}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj hhhjMhMubjo)}(hRegister inversion requirement:h]hRegister inversion requirement:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj hhubjo)}(hXFollowing values needed to be inverted(the '~' operator in C) before being sent to FSP::h]h[Following values needed to be inverted(the ‘~’ operator in C) before being sent to FSP:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj hhubj~)}(h&0xe8, 0xe9, 0xee, 0xf2, 0xf3 and 0xff.h]h&0xe8, 0xe9, 0xee, 0xf2, 0xf3 and 0xff.}hj( sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMhj hhubjo)}(hRegister swapping requirement:h]hRegister swapping requirement:}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj hhubjo)}(hmFollowing values needed to have their higher 4 bits and lower 4 bits being swapped before being sent to FSP::h]hlFollowing values needed to have their higher 4 bits and lower 4 bits being swapped before being sent to FSP:}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM hj hhubj~)}(h 10, 20, 40, 60, 80, 100 and 200.h]h 10, 20, 40, 60, 80, 100 and 200.}hjR sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhM hj hhubjo)}(hRegister reading sequence:h]hRegister reading sequence:}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj hhubj )}(hX{1. send 0xf3 PS/2 command to FSP; 2. send 0x66 PS/2 command to FSP; 3. send 0x88 PS/2 command to FSP; 4. send 0xf3 PS/2 command to FSP; 5. if the register address being to read is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 6 a. send 0x68 PS/2 command to FSP; b. send the inverted register address to FSP and goto step 8; 6. if the register address being to read is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 7 a. send 0xcc PS/2 command to FSP; b. send the swapped register address to FSP and goto step 8; 7. send 0x66 PS/2 command to FSP; a. send the original register address to FSP and goto step 8; 8. send 0xe9(status request) PS/2 command to FSP; 9. the 4th byte of the response read from FSP should be the requested register value(?? indicates don't care byte):: host: 0xe9 3888: 0xfa (??) (??) (val) * Note that since the Cx release, the hardware will return 1's complement of the register value at the 3rd byte of status request result:: host: 0xe9 3888: 0xfa (??) (~val) (val) h](j)}(hhh](j)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhju ubah}(h]h ]h"]h$]h&]uh1jhjr ubj)}(hsend 0x66 PS/2 command to FSP; h]jo)}(hsend 0x66 PS/2 command to FSP;h]hsend 0x66 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhjr ubj)}(hsend 0x88 PS/2 command to FSP; h]jo)}(hsend 0x88 PS/2 command to FSP;h]hsend 0x88 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhjr ubj)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhjr ubeh}(h]h ]h"]h$]h&]jj{jhjj|uh1jhjn ubjo)}(h5. if the register address being to read is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 6h]h5. if the register address being to read is not required to be inverted(refer to the ‘Register inversion requirement’ section), goto step 6}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjn ubj )}(haa. send 0x68 PS/2 command to FSP; b. send the inverted register address to FSP and goto step 8; h]j)}(hhh](j)}(hsend 0x68 PS/2 command to FSP; h]jo)}(hsend 0x68 PS/2 command to FSP;h]hsend 0x68 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h;send the inverted register address to FSP and goto step 8; h]jo)}(h:send the inverted register address to FSP and goto step 8;h]h:send the inverted register address to FSP and goto step 8;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]j loweralphajhjj|uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjMhMhjn ubjo)}(h6. if the register address being to read is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 7h]h6. if the register address being to read is not required to be swapped(refer to the ‘Register swapping requirement’ section), goto step 7}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM!hjn ubj )}(h`a. send 0xcc PS/2 command to FSP; b. send the swapped register address to FSP and goto step 8; h]j)}(hhh](j)}(hsend 0xcc PS/2 command to FSP; h]jo)}(hsend 0xcc PS/2 command to FSP;h]hsend 0xcc PS/2 command to FSP;}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM%hjB ubah}(h]h ]h"]h$]h&]uh1jhj? ubj)}(h:send the swapped register address to FSP and goto step 8; h]jo)}(h9send the swapped register address to FSP and goto step 8;h]h9send the swapped register address to FSP and goto step 8;}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM'hjZ ubah}(h]h ]h"]h$]h&]uh1jhj? ubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj; ubah}(h]h ]h"]h$]h&]uh1jhjMhM%hjn ubj)}(hhh]j)}(hsend 0x66 PS/2 command to FSP; h]jo)}(hsend 0x66 PS/2 command to FSP;h]hsend 0x66 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM)hj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]jj{jhjj|jKuh1jhjn ubj )}(h>a. send the original register address to FSP and goto step 8; h]j)}(hhh]j)}(h;send the original register address to FSP and goto step 8; h]jo)}(h:send the original register address to FSP and goto step 8;h]h:send the original register address to FSP and goto step 8;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM+hj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjMhM+hjn ubj)}(hhh]j)}(h/send 0xe9(status request) PS/2 command to FSP; h]jo)}(h.send 0xe9(status request) PS/2 command to FSP;h]h.send 0xe9(status request) PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM-hj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]jj{jhjj|jKuh1jhjn ubjo)}(ht9. the 4th byte of the response read from FSP should be the requested register value(?? indicates don't care byte)::h]hu9. the 4th byte of the response read from FSP should be the requested register value(?? indicates don’t care byte):}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM/hjn ubj~)}(h%host: 0xe9 3888: 0xfa (??) (??) (val)h]h%host: 0xe9 3888: 0xfa (??) (??) (val)}hj sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhM2hjn ubj)}(hhh]j)}(hNote that since the Cx release, the hardware will return 1's complement of the register value at the 3rd byte of status request result:: host: 0xe9 3888: 0xfa (??) (~val) (val) h](jo)}(hNote that since the Cx release, the hardware will return 1's complement of the register value at the 3rd byte of status request result::h]hNote that since the Cx release, the hardware will return 1’s complement of the register value at the 3rd byte of status request result:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM5hj ubj~)}(h'host: 0xe9 3888: 0xfa (??) (~val) (val)h]h'host: 0xe9 3888: 0xfa (??) (~val) (val)}hj sbah}(h]h ]h"]h$]h&]hhuh1j}hjMhM9hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]j*uh1jhjMhM5hjn ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj hhubjo)}(hRegister writing sequence:h]hRegister writing sequence:}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM<hj hhubj )}(hXf1. send 0xf3 PS/2 command to FSP; 2. if the register address being to write is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 3 a. send 0x74 PS/2 command to FSP; b. send the inverted register address to FSP and goto step 5; 3. if the register address being to write is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 4 a. send 0x77 PS/2 command to FSP; b. send the swapped register address to FSP and goto step 5; 4. send 0x55 PS/2 command to FSP; a. send the register address to FSP and goto step 5; 5. send 0xf3 PS/2 command to FSP; 6. if the register value being to write is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 7 a. send 0x47 PS/2 command to FSP; b. send the inverted register value to FSP and goto step 9; 7. if the register value being to write is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 8 a. send 0x44 PS/2 command to FSP; b. send the swapped register value to FSP and goto step 9; 8. send 0x33 PS/2 command to FSP; a. send the register value to FSP; 9. the register writing sequence is completed. * Since the Cx release, the hardware will return 1's complement of the register value at the 3rd byte of status request result. Host can optionally send another 0xe9 (status request) PS/2 command to FSP at the end of register writing to verify that the register writing operation is successful (?? indicates don't care byte):: host: 0xe9 3888: 0xfa (??) (~val) (val) h](j)}(hhh]j)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM>hjR ubah}(h]h ]h"]h$]h&]uh1jhjO ubah}(h]h ]h"]h$]h&]jj{jhjj|uh1jhjK ubjo)}(h2. if the register address being to write is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 3h]h2. if the register address being to write is not required to be inverted(refer to the ‘Register inversion requirement’ section), goto step 3}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM@hjK ubj )}(haa. send 0x74 PS/2 command to FSP; b. send the inverted register address to FSP and goto step 5; h]j)}(hhh](j)}(hsend 0x74 PS/2 command to FSP; h]jo)}(hsend 0x74 PS/2 command to FSP;h]hsend 0x74 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMDhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h;send the inverted register address to FSP and goto step 5; h]jo)}(h:send the inverted register address to FSP and goto step 5;h]h:send the inverted register address to FSP and goto step 5;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMFhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1jhjMhMDhjK ubjo)}(h3. if the register address being to write is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 4h]h3. if the register address being to write is not required to be swapped(refer to the ‘Register swapping requirement’ section), goto step 4}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMHhjK ubj )}(h`a. send 0x77 PS/2 command to FSP; b. send the swapped register address to FSP and goto step 5; h]j)}(hhh](j)}(hsend 0x77 PS/2 command to FSP; h]jo)}(hsend 0x77 PS/2 command to FSP;h]hsend 0x77 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMLhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h:send the swapped register address to FSP and goto step 5; h]jo)}(h9send the swapped register address to FSP and goto step 5;h]h9send the swapped register address to FSP and goto step 5;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMNhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjMhMLhjK ubj)}(hhh]j)}(hsend 0x55 PS/2 command to FSP; h]jo)}(hsend 0x55 PS/2 command to FSP;h]hsend 0x55 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMPhj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]jj{jhjj|jKuh1jhjK ubj )}(h5a. send the register address to FSP and goto step 5; h]j)}(hhh]j)}(h2send the register address to FSP and goto step 5; h]jo)}(h1send the register address to FSP and goto step 5;h]h1send the register address to FSP and goto step 5;}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMRhj: ubah}(h]h ]h"]h$]h&]uh1jhj7 ubah}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jhjMhMRhjK ubj)}(hhh]j)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMThja ubah}(h]h ]h"]h$]h&]uh1jhj^ ubah}(h]h ]h"]h$]h&]jj{jhjj|jKuh1jhjK ubjo)}(h6. if the register value being to write is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 7h]h6. if the register value being to write is not required to be inverted(refer to the ‘Register inversion requirement’ section), goto step 7}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMVhjK ubj )}(h_a. send 0x47 PS/2 command to FSP; b. send the inverted register value to FSP and goto step 9; h]j)}(hhh](j)}(hsend 0x47 PS/2 command to FSP; h]jo)}(hsend 0x47 PS/2 command to FSP;h]hsend 0x47 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMZhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h9send the inverted register value to FSP and goto step 9; h]jo)}(h8send the inverted register value to FSP and goto step 9;h]h8send the inverted register value to FSP and goto step 9;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM\hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjMhMZhjK ubjo)}(h7. if the register value being to write is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 8h]h7. if the register value being to write is not required to be swapped(refer to the ‘Register swapping requirement’ section), goto step 8}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM^hjK ubj )}(h^a. send 0x44 PS/2 command to FSP; b. send the swapped register value to FSP and goto step 9; h]j)}(hhh](j)}(hsend 0x44 PS/2 command to FSP; h]jo)}(hsend 0x44 PS/2 command to FSP;h]hsend 0x44 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMbhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h8send the swapped register value to FSP and goto step 9; h]jo)}(h7send the swapped register value to FSP and goto step 9;h]h7send the swapped register value to FSP and goto step 9;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMdhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjMhMbhjK ubj)}(hhh]j)}(hsend 0x33 PS/2 command to FSP; h]jo)}(hsend 0x33 PS/2 command to FSP;h]hsend 0x33 PS/2 command to FSP;}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMfhj$ubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]jj{jhjj|jKuh1jhjK ubj )}(h#a. send the register value to FSP; h]j)}(hhh]j)}(h send the register value to FSP; h]jo)}(hsend the register value to FSP;h]hsend the register value to FSP;}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhhjIubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]jj& jhjj|uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhjMhMhhjK ubj)}(hhh]j)}(h,the register writing sequence is completed. h]jo)}(h+the register writing sequence is completed.h]h+the register writing sequence is completed.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMjhjpubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]jj{jhjj|jK uh1jhjK ubj)}(hhh]j)}(hXzSince the Cx release, the hardware will return 1's complement of the register value at the 3rd byte of status request result. Host can optionally send another 0xe9 (status request) PS/2 command to FSP at the end of register writing to verify that the register writing operation is successful (?? indicates don't care byte):: host: 0xe9 3888: 0xfa (??) (~val) (val) h](jo)}(hXDSince the Cx release, the hardware will return 1's complement of the register value at the 3rd byte of status request result. Host can optionally send another 0xe9 (status request) PS/2 command to FSP at the end of register writing to verify that the register writing operation is successful (?? indicates don't care byte)::h]hXGSince the Cx release, the hardware will return 1’s complement of the register value at the 3rd byte of status request result. Host can optionally send another 0xe9 (status request) PS/2 command to FSP at the end of register writing to verify that the register writing operation is successful (?? indicates don’t care byte):}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMlhjubj~)}(h'host: 0xe9 3888: 0xfa (??) (~val) (val)h]h'host: 0xe9 3888: 0xfa (??) (~val) (val)}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMshjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]jj6 uh1jhjMhMlhjK ubeh}(h]h ]h"]h$]h&]uh1jhjMhM>hj hhubeh}(h]1programming-sequence-for-register-reading-writingah ]h"]1programming sequence for register reading/writingah$]h&]uh1j8hj:hhhjMhMubj9)}(hhh](j>)}(h6Programming Sequence for Page Register Reading/Writingh]h6Programming Sequence for Page Register Reading/Writing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjhhhjMhMwubjo)}(hIn order to overcome the limitation of maximum number of registers supported, the hardware separates register into different groups called 'pages.' Each page is able to include up to 255 registers.h]hIn order to overcome the limitation of maximum number of registers supported, the hardware separates register into different groups called ‘pages.’ Each page is able to include up to 255 registers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMyhjhhubjo)}(hXThe default page after power up is 0x82; therefore, if one has to get access to register 0x8301, one has to use following sequence to switch to page 0x83, then start reading/writing from/to offset 0x01 by using the register read/write sequence described in previous section.h]hXThe default page after power up is 0x82; therefore, if one has to get access to register 0x8301, one has to use following sequence to switch to page 0x83, then start reading/writing from/to offset 0x01 by using the register read/write sequence described in previous section.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhM}hjhhubjo)}(hPage register reading sequence:h]hPage register reading sequence:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjhhubj )}(hXH1. send 0xf3 PS/2 command to FSP; 2. send 0x66 PS/2 command to FSP; 3. send 0x88 PS/2 command to FSP; 4. send 0xf3 PS/2 command to FSP; 5. send 0x83 PS/2 command to FSP; 6. send 0x88 PS/2 command to FSP; 7. send 0xe9(status request) PS/2 command to FSP; 8. the response read from FSP should be the requested page value. h]j)}(hhh](j)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hsend 0x66 PS/2 command to FSP; h]jo)}(hsend 0x66 PS/2 command to FSP;h]hsend 0x66 PS/2 command to FSP;}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hsend 0x88 PS/2 command to FSP; h]jo)}(hsend 0x88 PS/2 command to FSP;h]hsend 0x88 PS/2 command to FSP;}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj=ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjUubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hsend 0x83 PS/2 command to FSP; h]jo)}(hsend 0x83 PS/2 command to FSP;h]hsend 0x83 PS/2 command to FSP;}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjmubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hsend 0x88 PS/2 command to FSP; h]jo)}(hsend 0x88 PS/2 command to FSP;h]hsend 0x88 PS/2 command to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h/send 0xe9(status request) PS/2 command to FSP; h]jo)}(h.send 0xe9(status request) PS/2 command to FSP;h]h.send 0xe9(status request) PS/2 command to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(h@the response read from FSP should be the requested page value. h]jo)}(h>the response read from FSP should be the requested page value.h]h>the response read from FSP should be the requested page value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]jj{jhjj|uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjMhMhjhhubjo)}(hPage register writing sequence:h]hPage register writing sequence:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjhhubj )}(hX1. send 0xf3 PS/2 command to FSP; 2. send 0x38 PS/2 command to FSP; 3. send 0x88 PS/2 command to FSP; 4. send 0xf3 PS/2 command to FSP; 5. if the page address being written is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 6 a. send 0x47 PS/2 command to FSP; b. send the inverted page address to FSP and goto step 9; 6. if the page address being written is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 7 a. send 0x44 PS/2 command to FSP; b. send the swapped page address to FSP and goto step 9; 7. send 0x33 PS/2 command to FSP; 8. send the page address to FSP; 9. the page register writing sequence is completed. h](j)}(hhh](j)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hsend 0x38 PS/2 command to FSP; h]jo)}(hsend 0x38 PS/2 command to FSP;h]hsend 0x38 PS/2 command to FSP;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hsend 0x88 PS/2 command to FSP; h]jo)}(hsend 0x88 PS/2 command to FSP;h]hsend 0x88 PS/2 command to FSP;}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hsend 0xf3 PS/2 command to FSP; h]jo)}(hsend 0xf3 PS/2 command to FSP;h]hsend 0xf3 PS/2 command to FSP;}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]jj{jhjj|uh1jhjubjo)}(h5. if the page address being written is not required to be inverted(refer to the 'Register inversion requirement' section), goto step 6h]h5. if the page address being written is not required to be inverted(refer to the ‘Register inversion requirement’ section), goto step 6}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubj )}(h]a. send 0x47 PS/2 command to FSP; b. send the inverted page address to FSP and goto step 9; h]j)}(hhh](j)}(hsend 0x47 PS/2 command to FSP; h]jo)}(hsend 0x47 PS/2 command to FSP;h]hsend 0x47 PS/2 command to FSP;}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjiubah}(h]h ]h"]h$]h&]uh1jhjfubj)}(h7send the inverted page address to FSP and goto step 9; h]jo)}(h6send the inverted page address to FSP and goto step 9;h]h6send the inverted page address to FSP and goto step 9;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhjMhMhjubjo)}(h6. if the page address being written is not required to be swapped(refer to the 'Register swapping requirement' section), goto step 7h]h6. if the page address being written is not required to be swapped(refer to the ‘Register swapping requirement’ section), goto step 7}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubj )}(h\a. send 0x44 PS/2 command to FSP; b. send the swapped page address to FSP and goto step 9; h]j)}(hhh](j)}(hsend 0x44 PS/2 command to FSP; h]jo)}(hsend 0x44 PS/2 command to FSP;h]hsend 0x44 PS/2 command to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h6send the swapped page address to FSP and goto step 9; h]jo)}(h5send the swapped page address to FSP and goto step 9;h]h5send the swapped page address to FSP and goto step 9;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]jj& jhjj|uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(hhh](j)}(hsend 0x33 PS/2 command to FSP; h]jo)}(hsend 0x33 PS/2 command to FSP;h]hsend 0x33 PS/2 command to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hsend the page address to FSP; h]jo)}(hsend the page address to FSP;h]hsend the page address to FSP;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h1the page register writing sequence is completed. h]jo)}(h0the page register writing sequence is completed.h]h0the page register writing sequence is completed.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj)ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]jj{jhjj|jKuh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjhhubeh}(h]6programming-sequence-for-page-register-reading-writingah ]h"]6programming sequence for page register reading/writingah$]h&]uh1j8hj:hhhjMhMwubj9)}(hhh](j>)}(h Gesture IDh]h Gesture ID}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjUhhhjMhMubjo)}(hUnlike other devices which sends multiple fingers' coordinates to host, FSP processes multiple fingers' coordinates internally and convert them into a 8 bits integer, namely 'Gesture ID.' Following is a list of supported gesture IDs:h]hUnlike other devices which sends multiple fingers’ coordinates to host, FSP processes multiple fingers’ coordinates internally and convert them into a 8 bits integer, namely ‘Gesture ID.’ Following is a list of supported gesture IDs:}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjUhhubj )}(hX======= ================================== ID Description ======= ================================== 0x86 2 finger straight up 0x82 2 finger straight down 0x80 2 finger straight right 0x84 2 finger straight left 0x8f 2 finger zoom in 0x8b 2 finger zoom out 0xc0 2 finger curve, counter clockwise 0xc4 2 finger curve, clockwise 0x2e 3 finger straight up 0x2a 3 finger straight down 0x28 3 finger straight right 0x2c 3 finger straight left 0x38 palm ======= ================================== h]htable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK"uh1jhjubhthead)}(hhh]hrow)}(hhh](hentry)}(hhh]jo)}(hIDh]hID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubhtbody)}(hhh](j)}(hhh](j)}(hhh]jo)}(h0x86h]h0x86}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h2 finger straight uph]h2 finger straight up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x82h]h0x82}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h2 finger straight downh]h2 finger straight down}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x80h]h0x80}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjTubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(hhh]jo)}(h2 finger straight righth]h2 finger straight right}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjkubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x84h]h0x84}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h2 finger straight lefth]h2 finger straight left}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x8fh]h0x8f}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h2 finger zoom inh]h2 finger zoom in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x8bh]h0x8b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h2 finger zoom outh]h2 finger zoom out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0xc0h]h0xc0}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj0ubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(hhh]jo)}(h!2 finger curve, counter clockwiseh]h!2 finger curve, counter clockwise}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjGubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0xc4h]h0xc4}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjgubah}(h]h ]h"]h$]h&]uh1jhjdubj)}(hhh]jo)}(h2 finger curve, clockwiseh]h2 finger curve, clockwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x2eh]h0x2e}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h3 finger straight uph]h3 finger straight up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x2ah]h0x2a}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]jo)}(h3 finger straight downh]h3 finger straight down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x28h]h0x28}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]jo)}(h3 finger straight righth]h3 finger straight right}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhj#ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x2ch]h0x2c}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjCubah}(h]h ]h"]h$]h&]uh1jhj@ubj)}(hhh]jo)}(h3 finger straight lefth]h3 finger straight left}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjZubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]jo)}(h0x38h]h0x38}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjzubah}(h]h ]h"]h$]h&]uh1jhjwubj)}(hhh]jo)}(hpalmh]hpalm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1j}hjzubah}(h]h ]h"]h$]h&]uh1jxhjtubah}(h]h ]h"]h$]h&]uh1jhjMhMhjUhhubeh}(h] gesture-idah ]h"] gesture idah$]h&]uh1j8hj:hhhjMhMubj9)}(hhh](j>)}(hRegister Listingh]hRegister Listing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjhhhjMhMubjo)}(hX1Registers are represented in 16 bits values. The higher 8 bits represent the page address and the lower 8 bits represent the relative offset within that particular page. Refer to the 'Programming Sequence for Page Register Reading/Writing' section for instructions on how to change current page address::h]hX4Registers are represented in 16 bits values. The higher 8 bits represent the page address and the lower 8 bits represent the relative offset within that particular page. Refer to the ‘Programming Sequence for Page Register Reading/Writing’ section for instructions on how to change current page address:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjMhMhjhhubj~)}(hX#offset width default r/w name 0x8200 bit7~bit0 0x01 RO device ID 0x8201 bit7~bit0 RW version ID 0xc1: STL3888 Ax 0xd0 ~ 0xd2: STL3888 Bx 0xe0 ~ 0xe1: STL3888 Cx 0xe2 ~ 0xe3: STL3888 Dx 0x8202 bit7~bit0 0x01 RO vendor ID 0x8203 bit7~bit0 0x01 RO product ID 0x8204 bit3~bit0 0x01 RW revision ID 0x820b test mode status 1 bit3 1 RO 0: rotate 180 degree 1: no rotation *only supported by H/W prior to Cx 0x820f register file page control bit2 0 RW 1: rotate 180 degree 0: no rotation *supported since Cx bit0 0 RW 1 to enable page 1 register files *only supported by H/W prior to Cx 0x8210 RW system control 1 bit0 1 RW Reserved, must be 1 bit1 0 RW Reserved, must be 0 bit4 0 RW Reserved, must be 0 bit5 1 RW register clock gating enable 0: read only, 1: read/write enable (Note that following registers does not require clock gating being enabled prior to write: 05 06 07 08 09 0c 0f 10 11 12 16 17 18 23 2e 40 41 42 43. In addition to that, this bit must be 1 when gesture mode is enabled) 0x8220 test mode status bit5~bit4 RO number of buttons 11 => 2, lbtn/rbtn 10 => 4, lbtn/rbtn/scru/scrd 01 => 6, lbtn/rbtn/scru/scrd/scrl/scrr 00 => 6, lbtn/rbtn/scru/scrd/fbtn/bbtn *only supported by H/W prior to Cx 0x8231 RW on-pad command detection bit7 0 RW on-pad command left button down tag enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8234 RW on-pad command control 5 bit4~bit0 0x05 RW XLO in 0s/4/1, so 03h = 0010.1b = 2.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx bit7 0 RW on-pad tap zone enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8235 RW on-pad command control 6 bit4~bit0 0x1d RW XHI in 0s/4/1, so 19h = 1100.1b = 12.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx 0x8236 RW on-pad command control 7 bit4~bit0 0x04 RW YLO in 0s/4/1, so 03h = 0010.1b = 2.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx 0x8237 RW on-pad command control 8 bit4~bit0 0x13 RW YHI in 0s/4/1, so 11h = 1000.1b = 8.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx 0x8240 RW system control 5 bit1 0 RW FSP Intellimouse mode enable 0: disable, 1: enable *only supported by H/W prior to Cx bit2 0 RW movement + abs. coordinate mode enable 0: disable, 1: enable (Note that this function has the functionality of bit 1 even when bit 1 is not set. However, the format is different from that of bit 1. In addition, when bit 1 and bit 2 are set at the same time, bit 2 will override bit 1.) *only supported by H/W prior to Cx bit3 0 RW abs. coordinate only mode enable 0: disable, 1: enable (Note that this function has the functionality of bit 1 even when bit 1 is not set. However, the format is different from that of bit 1. In addition, when bit 1, bit 2 and bit 3 are set at the same time, bit 3 will override bit 1 and 2.) *only supported by H/W prior to Cx bit5 0 RW auto switch enable 0: disable, 1: enable *only supported by H/W prior to Cx bit6 0 RW G0 abs. + notify packet format enable 0: disable, 1: enable (Note that the absolute/relative coordinate output still depends on bit 2 and 3. That is, if any of those bit is 1, host will receive absolute coordinates; otherwise, host only receives packets with relative coordinate.) *only supported by H/W prior to Cx bit7 0 RW EN_PS2_F2: PS/2 gesture mode 2nd finger packet enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8243 RW on-pad control bit0 0 RW on-pad control enable 0: disable, 1: enable (Note that if this bit is cleared, bit 3/5 will be ineffective) *only supported by H/W prior to Cx bit3 0 RW on-pad fix vertical scrolling enable 0: disable, 1: enable *only supported by H/W prior to Cx bit5 0 RW on-pad fix horizontal scrolling enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8290 RW software control register 1 bit0 0 RW absolute coordination mode 0: disable, 1: enable *supported since Cx bit1 0 RW gesture ID output 0: disable, 1: enable *supported since Cx bit2 0 RW two fingers' coordinates output 0: disable, 1: enable *supported since Cx bit3 0 RW finger up one packet output 0: disable, 1: enable *supported since Cx bit4 0 RW absolute coordination continuous mode 0: disable, 1: enable *supported since Cx bit6~bit5 00 RW gesture group selection 00: basic 01: suite 10: suite pro 11: advanced *supported since Cx bit7 0 RW Bx packet output compatible mode 0: disable, 1: enable *supported since Cx *supported since Cx 0x833d RW on-pad command control 1 bit7 1 RW on-pad command detection enable 0: disable, 1: enable *supported since Cx 0x833e RW on-pad command detection bit7 0 RW on-pad command left button down tag enable. Works only in H/W based PS/2 data packet mode. 0: disable, 1: enable *supported since Cxh]hX#offset width default r/w name 0x8200 bit7~bit0 0x01 RO device ID 0x8201 bit7~bit0 RW version ID 0xc1: STL3888 Ax 0xd0 ~ 0xd2: STL3888 Bx 0xe0 ~ 0xe1: STL3888 Cx 0xe2 ~ 0xe3: STL3888 Dx 0x8202 bit7~bit0 0x01 RO vendor ID 0x8203 bit7~bit0 0x01 RO product ID 0x8204 bit3~bit0 0x01 RW revision ID 0x820b test mode status 1 bit3 1 RO 0: rotate 180 degree 1: no rotation *only supported by H/W prior to Cx 0x820f register file page control bit2 0 RW 1: rotate 180 degree 0: no rotation *supported since Cx bit0 0 RW 1 to enable page 1 register files *only supported by H/W prior to Cx 0x8210 RW system control 1 bit0 1 RW Reserved, must be 1 bit1 0 RW Reserved, must be 0 bit4 0 RW Reserved, must be 0 bit5 1 RW register clock gating enable 0: read only, 1: read/write enable (Note that following registers does not require clock gating being enabled prior to write: 05 06 07 08 09 0c 0f 10 11 12 16 17 18 23 2e 40 41 42 43. In addition to that, this bit must be 1 when gesture mode is enabled) 0x8220 test mode status bit5~bit4 RO number of buttons 11 => 2, lbtn/rbtn 10 => 4, lbtn/rbtn/scru/scrd 01 => 6, lbtn/rbtn/scru/scrd/scrl/scrr 00 => 6, lbtn/rbtn/scru/scrd/fbtn/bbtn *only supported by H/W prior to Cx 0x8231 RW on-pad command detection bit7 0 RW on-pad command left button down tag enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8234 RW on-pad command control 5 bit4~bit0 0x05 RW XLO in 0s/4/1, so 03h = 0010.1b = 2.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx bit7 0 RW on-pad tap zone enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8235 RW on-pad command control 6 bit4~bit0 0x1d RW XHI in 0s/4/1, so 19h = 1100.1b = 12.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx 0x8236 RW on-pad command control 7 bit4~bit0 0x04 RW YLO in 0s/4/1, so 03h = 0010.1b = 2.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx 0x8237 RW on-pad command control 8 bit4~bit0 0x13 RW YHI in 0s/4/1, so 11h = 1000.1b = 8.5 (Note that position unit is in 0.5 scanline) *only supported by H/W prior to Cx 0x8240 RW system control 5 bit1 0 RW FSP Intellimouse mode enable 0: disable, 1: enable *only supported by H/W prior to Cx bit2 0 RW movement + abs. coordinate mode enable 0: disable, 1: enable (Note that this function has the functionality of bit 1 even when bit 1 is not set. However, the format is different from that of bit 1. In addition, when bit 1 and bit 2 are set at the same time, bit 2 will override bit 1.) *only supported by H/W prior to Cx bit3 0 RW abs. coordinate only mode enable 0: disable, 1: enable (Note that this function has the functionality of bit 1 even when bit 1 is not set. However, the format is different from that of bit 1. In addition, when bit 1, bit 2 and bit 3 are set at the same time, bit 3 will override bit 1 and 2.) *only supported by H/W prior to Cx bit5 0 RW auto switch enable 0: disable, 1: enable *only supported by H/W prior to Cx bit6 0 RW G0 abs. + notify packet format enable 0: disable, 1: enable (Note that the absolute/relative coordinate output still depends on bit 2 and 3. That is, if any of those bit is 1, host will receive absolute coordinates; otherwise, host only receives packets with relative coordinate.) *only supported by H/W prior to Cx bit7 0 RW EN_PS2_F2: PS/2 gesture mode 2nd finger packet enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8243 RW on-pad control bit0 0 RW on-pad control enable 0: disable, 1: enable (Note that if this bit is cleared, bit 3/5 will be ineffective) *only supported by H/W prior to Cx bit3 0 RW on-pad fix vertical scrolling enable 0: disable, 1: enable *only supported by H/W prior to Cx bit5 0 RW on-pad fix horizontal scrolling enable 0: disable, 1: enable *only supported by H/W prior to Cx 0x8290 RW software control register 1 bit0 0 RW absolute coordination mode 0: disable, 1: enable *supported since Cx bit1 0 RW gesture ID output 0: disable, 1: enable *supported since Cx bit2 0 RW two fingers' coordinates output 0: disable, 1: enable *supported since Cx bit3 0 RW finger up one packet output 0: disable, 1: enable *supported since Cx bit4 0 RW absolute coordination continuous mode 0: disable, 1: enable *supported since Cx bit6~bit5 00 RW gesture group selection 00: basic 01: suite 10: suite pro 11: advanced *supported since Cx bit7 0 RW Bx packet output compatible mode 0: disable, 1: enable *supported since Cx *supported since Cx 0x833d RW on-pad command control 1 bit7 1 RW on-pad command detection enable 0: disable, 1: enable *supported since Cx 0x833e RW on-pad command detection bit7 0 RW on-pad command left button down tag enable. Works only in H/W based PS/2 data packet mode. 0: disable, 1: enable *supported since Cx}hjsbah}(h]h ]h"]h$]h&]hhuh1j}hjMhMhjhhubeh}(h]register-listingah ]h"]register listingah$]h&]uh1j8hj:hhhjMhMubeh}(h]sentelic-touchpadah ]h"]sentelic touchpadah$]h&]uh1j8hhhhhjMhKubeh}(h]h ]h"]h$]h&]sourcejMuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(j=N generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj.error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcejM _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}(hhhhhhhhj jjjj*jj9j-jHj<jWjKjfjZjujijjxjjjjjjjjjjjjjjjjj jjjj)jj8j,jGj;jVjJjejYjtjhjjwjjjjjjjjjjjjjjjjj jjj j(jj7j+jFj:jUjIjdjXjsjgjjvjjjjjjjjjjjjjjjjj jjj j'jj6j*jEj9jTjHjcjWjrjfjjujjjjjjjjjjjjjjjjjjjj j&jj5j)usubstitution_names}(amphЌaposhߌasthbrvbarhbsolj centjcolonj*commaj9commatjHcopyjWcurrenjfdarrjudegjdividejdollarjequalsjexcljfrac12jfrac14jfrac18jfrac34jfrac38j frac58jfrac78j)gtj8halfjGhorbarjVhyphenjeiexcljtiquestjlaquojlarrjlcubjldquojlowbarjlparjlsqbjlsquojltj microjmiddotj(nbspj7notjFnumjUohmjdordfjsordmjparajpercntjperiodjplusjplusmnjpoundjquestjquotjraquoj rarrjrcubj'rdquoj6regjErparjTrsqbjcrsquojrsectjsemijshyjsoljsungjsup1jsup2jsup3jtimesjtradejuarrjverbarj&yenj5urefnames}refids}nameids}(j jjLjIjjjjjaj^jjj j jN jK j j jjjRjOjjjju nametypes}(j jLjjjajj jN j jjRjjuh}(jj:jIjjjOjjj^jjjdj jjK j j jQ jj jOjjjUjju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages](hsystem_message)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "B" (ordinal 2)h]h>Enumerated list start value not ordinal-1: “B” (ordinal 2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcejMlineKuh1jhjhhhjMhK1ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "C" (ordinal 3)h]h>Enumerated list start value not ordinal-1: “C” (ordinal 3)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjhhhjMhKSubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "7" (ordinal 7)h]h>Enumerated list start value not ordinal-1: “7” (ordinal 7)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjn ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "8" (ordinal 8)h]h>Enumerated list start value not ordinal-1: “8” (ordinal 8)}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jnhj0ubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjn ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "4" (ordinal 4)h]h>Enumerated list start value not ordinal-1: “4” (ordinal 4)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjKubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjK ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "5" (ordinal 5)(h]h>Enumerated list start value not ordinal-1: “5” (ordinal 5)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjfubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjK ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "8" (ordinal 8)h]h>Enumerated list start value not ordinal-1: “8” (ordinal 8)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjK ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "9" (ordinal 9)h]h>Enumerated list start value not ordinal-1: “9” (ordinal 9)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjK ubj)}(hhh]jo)}(h:Enumerated list start value not ordinal-1: "7" (ordinal 7)h]h>Enumerated list start value not ordinal-1: “7” (ordinal 7)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jnhjubah}(h]h ]h"]h$]h&]levelKtypejsourcejMlineKuh1jhjubetransform_messages] transformerN include_log](Documentation/input/devices/sentelic.rst(NNNNta decorationNhhub.