xkb.h 241 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106
  1. /*
  2. * This file generated automatically from xkb.xml by c_client.py.
  3. * Edit at your peril.
  4. */
  5. /**
  6. * @defgroup XCB_xkb_API XCB xkb API
  7. * @brief xkb XCB Protocol Implementation.
  8. * @{
  9. **/
  10. #ifndef __XKB_H
  11. #define __XKB_H
  12. #include "xcb.h"
  13. #include "xproto.h"
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #define XCB_XKB_MAJOR_VERSION 1
  18. #define XCB_XKB_MINOR_VERSION 0
  19. extern xcb_extension_t xcb_xkb_id;
  20. typedef enum xcb_xkb_const_t {
  21. XCB_XKB_CONST_MAX_LEGAL_KEY_CODE = 255,
  22. XCB_XKB_CONST_PER_KEY_BIT_ARRAY_SIZE = 32,
  23. XCB_XKB_CONST_KEY_NAME_LENGTH = 4
  24. } xcb_xkb_const_t;
  25. typedef enum xcb_xkb_event_type_t {
  26. XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY = 1,
  27. XCB_XKB_EVENT_TYPE_MAP_NOTIFY = 2,
  28. XCB_XKB_EVENT_TYPE_STATE_NOTIFY = 4,
  29. XCB_XKB_EVENT_TYPE_CONTROLS_NOTIFY = 8,
  30. XCB_XKB_EVENT_TYPE_INDICATOR_STATE_NOTIFY = 16,
  31. XCB_XKB_EVENT_TYPE_INDICATOR_MAP_NOTIFY = 32,
  32. XCB_XKB_EVENT_TYPE_NAMES_NOTIFY = 64,
  33. XCB_XKB_EVENT_TYPE_COMPAT_MAP_NOTIFY = 128,
  34. XCB_XKB_EVENT_TYPE_BELL_NOTIFY = 256,
  35. XCB_XKB_EVENT_TYPE_ACTION_MESSAGE = 512,
  36. XCB_XKB_EVENT_TYPE_ACCESS_X_NOTIFY = 1024,
  37. XCB_XKB_EVENT_TYPE_EXTENSION_DEVICE_NOTIFY = 2048
  38. } xcb_xkb_event_type_t;
  39. typedef enum xcb_xkb_nkn_detail_t {
  40. XCB_XKB_NKN_DETAIL_KEYCODES = 1,
  41. XCB_XKB_NKN_DETAIL_GEOMETRY = 2,
  42. XCB_XKB_NKN_DETAIL_DEVICE_ID = 4
  43. } xcb_xkb_nkn_detail_t;
  44. typedef enum xcb_xkb_axn_detail_t {
  45. XCB_XKB_AXN_DETAIL_SK_PRESS = 1,
  46. XCB_XKB_AXN_DETAIL_SK_ACCEPT = 2,
  47. XCB_XKB_AXN_DETAIL_SK_REJECT = 4,
  48. XCB_XKB_AXN_DETAIL_SK_RELEASE = 8,
  49. XCB_XKB_AXN_DETAIL_BK_ACCEPT = 16,
  50. XCB_XKB_AXN_DETAIL_BK_REJECT = 32,
  51. XCB_XKB_AXN_DETAIL_AXK_WARNING = 64
  52. } xcb_xkb_axn_detail_t;
  53. typedef enum xcb_xkb_map_part_t {
  54. XCB_XKB_MAP_PART_KEY_TYPES = 1,
  55. XCB_XKB_MAP_PART_KEY_SYMS = 2,
  56. XCB_XKB_MAP_PART_MODIFIER_MAP = 4,
  57. XCB_XKB_MAP_PART_EXPLICIT_COMPONENTS = 8,
  58. XCB_XKB_MAP_PART_KEY_ACTIONS = 16,
  59. XCB_XKB_MAP_PART_KEY_BEHAVIORS = 32,
  60. XCB_XKB_MAP_PART_VIRTUAL_MODS = 64,
  61. XCB_XKB_MAP_PART_VIRTUAL_MOD_MAP = 128
  62. } xcb_xkb_map_part_t;
  63. typedef enum xcb_xkb_set_map_flags_t {
  64. XCB_XKB_SET_MAP_FLAGS_RESIZE_TYPES = 1,
  65. XCB_XKB_SET_MAP_FLAGS_RECOMPUTE_ACTIONS = 2
  66. } xcb_xkb_set_map_flags_t;
  67. typedef enum xcb_xkb_state_part_t {
  68. XCB_XKB_STATE_PART_MODIFIER_STATE = 1,
  69. XCB_XKB_STATE_PART_MODIFIER_BASE = 2,
  70. XCB_XKB_STATE_PART_MODIFIER_LATCH = 4,
  71. XCB_XKB_STATE_PART_MODIFIER_LOCK = 8,
  72. XCB_XKB_STATE_PART_GROUP_STATE = 16,
  73. XCB_XKB_STATE_PART_GROUP_BASE = 32,
  74. XCB_XKB_STATE_PART_GROUP_LATCH = 64,
  75. XCB_XKB_STATE_PART_GROUP_LOCK = 128,
  76. XCB_XKB_STATE_PART_COMPAT_STATE = 256,
  77. XCB_XKB_STATE_PART_GRAB_MODS = 512,
  78. XCB_XKB_STATE_PART_COMPAT_GRAB_MODS = 1024,
  79. XCB_XKB_STATE_PART_LOOKUP_MODS = 2048,
  80. XCB_XKB_STATE_PART_COMPAT_LOOKUP_MODS = 4096,
  81. XCB_XKB_STATE_PART_POINTER_BUTTONS = 8192
  82. } xcb_xkb_state_part_t;
  83. typedef enum xcb_xkb_bool_ctrl_t {
  84. XCB_XKB_BOOL_CTRL_REPEAT_KEYS = 1,
  85. XCB_XKB_BOOL_CTRL_SLOW_KEYS = 2,
  86. XCB_XKB_BOOL_CTRL_BOUNCE_KEYS = 4,
  87. XCB_XKB_BOOL_CTRL_STICKY_KEYS = 8,
  88. XCB_XKB_BOOL_CTRL_MOUSE_KEYS = 16,
  89. XCB_XKB_BOOL_CTRL_MOUSE_KEYS_ACCEL = 32,
  90. XCB_XKB_BOOL_CTRL_ACCESS_X_KEYS = 64,
  91. XCB_XKB_BOOL_CTRL_ACCESS_X_TIMEOUT_MASK = 128,
  92. XCB_XKB_BOOL_CTRL_ACCESS_X_FEEDBACK_MASK = 256,
  93. XCB_XKB_BOOL_CTRL_AUDIBLE_BELL_MASK = 512,
  94. XCB_XKB_BOOL_CTRL_OVERLAY_1_MASK = 1024,
  95. XCB_XKB_BOOL_CTRL_OVERLAY_2_MASK = 2048,
  96. XCB_XKB_BOOL_CTRL_IGNORE_GROUP_LOCK_MASK = 4096
  97. } xcb_xkb_bool_ctrl_t;
  98. typedef enum xcb_xkb_control_t {
  99. XCB_XKB_CONTROL_GROUPS_WRAP = 134217728,
  100. XCB_XKB_CONTROL_INTERNAL_MODS = 268435456,
  101. XCB_XKB_CONTROL_IGNORE_LOCK_MODS = 536870912,
  102. XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824,
  103. XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648
  104. } xcb_xkb_control_t;
  105. typedef enum xcb_xkb_ax_option_t {
  106. XCB_XKB_AX_OPTION_SK_PRESS_FB = 1,
  107. XCB_XKB_AX_OPTION_SK_ACCEPT_FB = 2,
  108. XCB_XKB_AX_OPTION_FEATURE_FB = 4,
  109. XCB_XKB_AX_OPTION_SLOW_WARN_FB = 8,
  110. XCB_XKB_AX_OPTION_INDICATOR_FB = 16,
  111. XCB_XKB_AX_OPTION_STICKY_KEYS_FB = 32,
  112. XCB_XKB_AX_OPTION_TWO_KEYS = 64,
  113. XCB_XKB_AX_OPTION_LATCH_TO_LOCK = 128,
  114. XCB_XKB_AX_OPTION_SK_RELEASE_FB = 256,
  115. XCB_XKB_AX_OPTION_SK_REJECT_FB = 512,
  116. XCB_XKB_AX_OPTION_BK_REJECT_FB = 1024,
  117. XCB_XKB_AX_OPTION_DUMB_BELL = 2048
  118. } xcb_xkb_ax_option_t;
  119. typedef uint16_t xcb_xkb_device_spec_t;
  120. /**
  121. * @brief xcb_xkb_device_spec_iterator_t
  122. **/
  123. typedef struct xcb_xkb_device_spec_iterator_t {
  124. xcb_xkb_device_spec_t *data;
  125. int rem;
  126. int index;
  127. } xcb_xkb_device_spec_iterator_t;
  128. typedef enum xcb_xkb_led_class_result_t {
  129. XCB_XKB_LED_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
  130. XCB_XKB_LED_CLASS_RESULT_LED_FEEDBACK_CLASS = 4
  131. } xcb_xkb_led_class_result_t;
  132. typedef enum xcb_xkb_led_class_t {
  133. XCB_XKB_LED_CLASS_KBD_FEEDBACK_CLASS = 0,
  134. XCB_XKB_LED_CLASS_LED_FEEDBACK_CLASS = 4,
  135. XCB_XKB_LED_CLASS_DFLT_XI_CLASS = 768,
  136. XCB_XKB_LED_CLASS_ALL_XI_CLASSES = 1280
  137. } xcb_xkb_led_class_t;
  138. typedef uint16_t xcb_xkb_led_class_spec_t;
  139. /**
  140. * @brief xcb_xkb_led_class_spec_iterator_t
  141. **/
  142. typedef struct xcb_xkb_led_class_spec_iterator_t {
  143. xcb_xkb_led_class_spec_t *data;
  144. int rem;
  145. int index;
  146. } xcb_xkb_led_class_spec_iterator_t;
  147. typedef enum xcb_xkb_bell_class_result_t {
  148. XCB_XKB_BELL_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
  149. XCB_XKB_BELL_CLASS_RESULT_BELL_FEEDBACK_CLASS = 5
  150. } xcb_xkb_bell_class_result_t;
  151. typedef enum xcb_xkb_bell_class_t {
  152. XCB_XKB_BELL_CLASS_KBD_FEEDBACK_CLASS = 0,
  153. XCB_XKB_BELL_CLASS_BELL_FEEDBACK_CLASS = 5,
  154. XCB_XKB_BELL_CLASS_DFLT_XI_CLASS = 768
  155. } xcb_xkb_bell_class_t;
  156. typedef uint16_t xcb_xkb_bell_class_spec_t;
  157. /**
  158. * @brief xcb_xkb_bell_class_spec_iterator_t
  159. **/
  160. typedef struct xcb_xkb_bell_class_spec_iterator_t {
  161. xcb_xkb_bell_class_spec_t *data;
  162. int rem;
  163. int index;
  164. } xcb_xkb_bell_class_spec_iterator_t;
  165. typedef enum xcb_xkb_id_t {
  166. XCB_XKB_ID_USE_CORE_KBD = 256,
  167. XCB_XKB_ID_USE_CORE_PTR = 512,
  168. XCB_XKB_ID_DFLT_XI_CLASS = 768,
  169. XCB_XKB_ID_DFLT_XI_ID = 1024,
  170. XCB_XKB_ID_ALL_XI_CLASS = 1280,
  171. XCB_XKB_ID_ALL_XI_ID = 1536,
  172. XCB_XKB_ID_XI_NONE = 65280
  173. } xcb_xkb_id_t;
  174. typedef uint16_t xcb_xkb_id_spec_t;
  175. /**
  176. * @brief xcb_xkb_id_spec_iterator_t
  177. **/
  178. typedef struct xcb_xkb_id_spec_iterator_t {
  179. xcb_xkb_id_spec_t *data;
  180. int rem;
  181. int index;
  182. } xcb_xkb_id_spec_iterator_t;
  183. typedef enum xcb_xkb_group_t {
  184. XCB_XKB_GROUP_1 = 0,
  185. XCB_XKB_GROUP_2 = 1,
  186. XCB_XKB_GROUP_3 = 2,
  187. XCB_XKB_GROUP_4 = 3
  188. } xcb_xkb_group_t;
  189. typedef enum xcb_xkb_groups_t {
  190. XCB_XKB_GROUPS_ANY = 254,
  191. XCB_XKB_GROUPS_ALL = 255
  192. } xcb_xkb_groups_t;
  193. typedef enum xcb_xkb_set_of_group_t {
  194. XCB_XKB_SET_OF_GROUP_GROUP_1 = 1,
  195. XCB_XKB_SET_OF_GROUP_GROUP_2 = 2,
  196. XCB_XKB_SET_OF_GROUP_GROUP_3 = 4,
  197. XCB_XKB_SET_OF_GROUP_GROUP_4 = 8
  198. } xcb_xkb_set_of_group_t;
  199. typedef enum xcb_xkb_set_of_groups_t {
  200. XCB_XKB_SET_OF_GROUPS_ANY = 128
  201. } xcb_xkb_set_of_groups_t;
  202. typedef enum xcb_xkb_groups_wrap_t {
  203. XCB_XKB_GROUPS_WRAP_WRAP_INTO_RANGE = 0,
  204. XCB_XKB_GROUPS_WRAP_CLAMP_INTO_RANGE = 64,
  205. XCB_XKB_GROUPS_WRAP_REDIRECT_INTO_RANGE = 128
  206. } xcb_xkb_groups_wrap_t;
  207. typedef enum xcb_xkb_v_mods_high_t {
  208. XCB_XKB_V_MODS_HIGH_15 = 128,
  209. XCB_XKB_V_MODS_HIGH_14 = 64,
  210. XCB_XKB_V_MODS_HIGH_13 = 32,
  211. XCB_XKB_V_MODS_HIGH_12 = 16,
  212. XCB_XKB_V_MODS_HIGH_11 = 8,
  213. XCB_XKB_V_MODS_HIGH_10 = 4,
  214. XCB_XKB_V_MODS_HIGH_9 = 2,
  215. XCB_XKB_V_MODS_HIGH_8 = 1
  216. } xcb_xkb_v_mods_high_t;
  217. typedef enum xcb_xkb_v_mods_low_t {
  218. XCB_XKB_V_MODS_LOW_7 = 128,
  219. XCB_XKB_V_MODS_LOW_6 = 64,
  220. XCB_XKB_V_MODS_LOW_5 = 32,
  221. XCB_XKB_V_MODS_LOW_4 = 16,
  222. XCB_XKB_V_MODS_LOW_3 = 8,
  223. XCB_XKB_V_MODS_LOW_2 = 4,
  224. XCB_XKB_V_MODS_LOW_1 = 2,
  225. XCB_XKB_V_MODS_LOW_0 = 1
  226. } xcb_xkb_v_mods_low_t;
  227. typedef enum xcb_xkb_v_mod_t {
  228. XCB_XKB_V_MOD_15 = 32768,
  229. XCB_XKB_V_MOD_14 = 16384,
  230. XCB_XKB_V_MOD_13 = 8192,
  231. XCB_XKB_V_MOD_12 = 4096,
  232. XCB_XKB_V_MOD_11 = 2048,
  233. XCB_XKB_V_MOD_10 = 1024,
  234. XCB_XKB_V_MOD_9 = 512,
  235. XCB_XKB_V_MOD_8 = 256,
  236. XCB_XKB_V_MOD_7 = 128,
  237. XCB_XKB_V_MOD_6 = 64,
  238. XCB_XKB_V_MOD_5 = 32,
  239. XCB_XKB_V_MOD_4 = 16,
  240. XCB_XKB_V_MOD_3 = 8,
  241. XCB_XKB_V_MOD_2 = 4,
  242. XCB_XKB_V_MOD_1 = 2,
  243. XCB_XKB_V_MOD_0 = 1
  244. } xcb_xkb_v_mod_t;
  245. typedef enum xcb_xkb_explicit_t {
  246. XCB_XKB_EXPLICIT_V_MOD_MAP = 128,
  247. XCB_XKB_EXPLICIT_BEHAVIOR = 64,
  248. XCB_XKB_EXPLICIT_AUTO_REPEAT = 32,
  249. XCB_XKB_EXPLICIT_INTERPRET = 16,
  250. XCB_XKB_EXPLICIT_KEY_TYPE_4 = 8,
  251. XCB_XKB_EXPLICIT_KEY_TYPE_3 = 4,
  252. XCB_XKB_EXPLICIT_KEY_TYPE_2 = 2,
  253. XCB_XKB_EXPLICIT_KEY_TYPE_1 = 1
  254. } xcb_xkb_explicit_t;
  255. typedef enum xcb_xkb_sym_interpret_match_t {
  256. XCB_XKB_SYM_INTERPRET_MATCH_NONE_OF = 0,
  257. XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF_OR_NONE = 1,
  258. XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF = 2,
  259. XCB_XKB_SYM_INTERPRET_MATCH_ALL_OF = 3,
  260. XCB_XKB_SYM_INTERPRET_MATCH_EXACTLY = 4
  261. } xcb_xkb_sym_interpret_match_t;
  262. typedef enum xcb_xkb_sym_interp_match_t {
  263. XCB_XKB_SYM_INTERP_MATCH_LEVEL_ONE_ONLY = 128,
  264. XCB_XKB_SYM_INTERP_MATCH_OP_MASK = 127
  265. } xcb_xkb_sym_interp_match_t;
  266. typedef enum xcb_xkb_im_flag_t {
  267. XCB_XKB_IM_FLAG_NO_EXPLICIT = 128,
  268. XCB_XKB_IM_FLAG_NO_AUTOMATIC = 64,
  269. XCB_XKB_IM_FLAG_LED_DRIVES_KB = 32
  270. } xcb_xkb_im_flag_t;
  271. typedef enum xcb_xkb_im_mods_which_t {
  272. XCB_XKB_IM_MODS_WHICH_USE_COMPAT = 16,
  273. XCB_XKB_IM_MODS_WHICH_USE_EFFECTIVE = 8,
  274. XCB_XKB_IM_MODS_WHICH_USE_LOCKED = 4,
  275. XCB_XKB_IM_MODS_WHICH_USE_LATCHED = 2,
  276. XCB_XKB_IM_MODS_WHICH_USE_BASE = 1
  277. } xcb_xkb_im_mods_which_t;
  278. typedef enum xcb_xkb_im_groups_which_t {
  279. XCB_XKB_IM_GROUPS_WHICH_USE_COMPAT = 16,
  280. XCB_XKB_IM_GROUPS_WHICH_USE_EFFECTIVE = 8,
  281. XCB_XKB_IM_GROUPS_WHICH_USE_LOCKED = 4,
  282. XCB_XKB_IM_GROUPS_WHICH_USE_LATCHED = 2,
  283. XCB_XKB_IM_GROUPS_WHICH_USE_BASE = 1
  284. } xcb_xkb_im_groups_which_t;
  285. /**
  286. * @brief xcb_xkb_indicator_map_t
  287. **/
  288. typedef struct xcb_xkb_indicator_map_t {
  289. uint8_t flags;
  290. uint8_t whichGroups;
  291. uint8_t groups;
  292. uint8_t whichMods;
  293. uint8_t mods;
  294. uint8_t realMods;
  295. uint16_t vmods;
  296. uint32_t ctrls;
  297. } xcb_xkb_indicator_map_t;
  298. /**
  299. * @brief xcb_xkb_indicator_map_iterator_t
  300. **/
  301. typedef struct xcb_xkb_indicator_map_iterator_t {
  302. xcb_xkb_indicator_map_t *data;
  303. int rem;
  304. int index;
  305. } xcb_xkb_indicator_map_iterator_t;
  306. typedef enum xcb_xkb_cm_detail_t {
  307. XCB_XKB_CM_DETAIL_SYM_INTERP = 1,
  308. XCB_XKB_CM_DETAIL_GROUP_COMPAT = 2
  309. } xcb_xkb_cm_detail_t;
  310. typedef enum xcb_xkb_name_detail_t {
  311. XCB_XKB_NAME_DETAIL_KEYCODES = 1,
  312. XCB_XKB_NAME_DETAIL_GEOMETRY = 2,
  313. XCB_XKB_NAME_DETAIL_SYMBOLS = 4,
  314. XCB_XKB_NAME_DETAIL_PHYS_SYMBOLS = 8,
  315. XCB_XKB_NAME_DETAIL_TYPES = 16,
  316. XCB_XKB_NAME_DETAIL_COMPAT = 32,
  317. XCB_XKB_NAME_DETAIL_KEY_TYPE_NAMES = 64,
  318. XCB_XKB_NAME_DETAIL_KT_LEVEL_NAMES = 128,
  319. XCB_XKB_NAME_DETAIL_INDICATOR_NAMES = 256,
  320. XCB_XKB_NAME_DETAIL_KEY_NAMES = 512,
  321. XCB_XKB_NAME_DETAIL_KEY_ALIASES = 1024,
  322. XCB_XKB_NAME_DETAIL_VIRTUAL_MOD_NAMES = 2048,
  323. XCB_XKB_NAME_DETAIL_GROUP_NAMES = 4096,
  324. XCB_XKB_NAME_DETAIL_RG_NAMES = 8192
  325. } xcb_xkb_name_detail_t;
  326. typedef enum xcb_xkb_gbn_detail_t {
  327. XCB_XKB_GBN_DETAIL_TYPES = 1,
  328. XCB_XKB_GBN_DETAIL_COMPAT_MAP = 2,
  329. XCB_XKB_GBN_DETAIL_CLIENT_SYMBOLS = 4,
  330. XCB_XKB_GBN_DETAIL_SERVER_SYMBOLS = 8,
  331. XCB_XKB_GBN_DETAIL_INDICATOR_MAPS = 16,
  332. XCB_XKB_GBN_DETAIL_KEY_NAMES = 32,
  333. XCB_XKB_GBN_DETAIL_GEOMETRY = 64,
  334. XCB_XKB_GBN_DETAIL_OTHER_NAMES = 128
  335. } xcb_xkb_gbn_detail_t;
  336. typedef enum xcb_xkb_xi_feature_t {
  337. XCB_XKB_XI_FEATURE_KEYBOARDS = 1,
  338. XCB_XKB_XI_FEATURE_BUTTON_ACTIONS = 2,
  339. XCB_XKB_XI_FEATURE_INDICATOR_NAMES = 4,
  340. XCB_XKB_XI_FEATURE_INDICATOR_MAPS = 8,
  341. XCB_XKB_XI_FEATURE_INDICATOR_STATE = 16
  342. } xcb_xkb_xi_feature_t;
  343. typedef enum xcb_xkb_per_client_flag_t {
  344. XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT = 1,
  345. XCB_XKB_PER_CLIENT_FLAG_GRABS_USE_XKB_STATE = 2,
  346. XCB_XKB_PER_CLIENT_FLAG_AUTO_RESET_CONTROLS = 4,
  347. XCB_XKB_PER_CLIENT_FLAG_LOOKUP_STATE_WHEN_GRABBED = 8,
  348. XCB_XKB_PER_CLIENT_FLAG_SEND_EVENT_USES_XKB_STATE = 16
  349. } xcb_xkb_per_client_flag_t;
  350. /**
  351. * @brief xcb_xkb_mod_def_t
  352. **/
  353. typedef struct xcb_xkb_mod_def_t {
  354. uint8_t mask;
  355. uint8_t realMods;
  356. uint16_t vmods;
  357. } xcb_xkb_mod_def_t;
  358. /**
  359. * @brief xcb_xkb_mod_def_iterator_t
  360. **/
  361. typedef struct xcb_xkb_mod_def_iterator_t {
  362. xcb_xkb_mod_def_t *data;
  363. int rem;
  364. int index;
  365. } xcb_xkb_mod_def_iterator_t;
  366. /**
  367. * @brief xcb_xkb_key_name_t
  368. **/
  369. typedef struct xcb_xkb_key_name_t {
  370. char name[4];
  371. } xcb_xkb_key_name_t;
  372. /**
  373. * @brief xcb_xkb_key_name_iterator_t
  374. **/
  375. typedef struct xcb_xkb_key_name_iterator_t {
  376. xcb_xkb_key_name_t *data;
  377. int rem;
  378. int index;
  379. } xcb_xkb_key_name_iterator_t;
  380. /**
  381. * @brief xcb_xkb_key_alias_t
  382. **/
  383. typedef struct xcb_xkb_key_alias_t {
  384. char real[4];
  385. char alias[4];
  386. } xcb_xkb_key_alias_t;
  387. /**
  388. * @brief xcb_xkb_key_alias_iterator_t
  389. **/
  390. typedef struct xcb_xkb_key_alias_iterator_t {
  391. xcb_xkb_key_alias_t *data;
  392. int rem;
  393. int index;
  394. } xcb_xkb_key_alias_iterator_t;
  395. /**
  396. * @brief xcb_xkb_counted_string_16_t
  397. **/
  398. typedef struct xcb_xkb_counted_string_16_t {
  399. uint16_t length;
  400. } xcb_xkb_counted_string_16_t;
  401. /**
  402. * @brief xcb_xkb_counted_string_16_iterator_t
  403. **/
  404. typedef struct xcb_xkb_counted_string_16_iterator_t {
  405. xcb_xkb_counted_string_16_t *data;
  406. int rem;
  407. int index;
  408. } xcb_xkb_counted_string_16_iterator_t;
  409. /**
  410. * @brief xcb_xkb_kt_map_entry_t
  411. **/
  412. typedef struct xcb_xkb_kt_map_entry_t {
  413. uint8_t active;
  414. uint8_t mods_mask;
  415. uint8_t level;
  416. uint8_t mods_mods;
  417. uint16_t mods_vmods;
  418. uint8_t pad0[2];
  419. } xcb_xkb_kt_map_entry_t;
  420. /**
  421. * @brief xcb_xkb_kt_map_entry_iterator_t
  422. **/
  423. typedef struct xcb_xkb_kt_map_entry_iterator_t {
  424. xcb_xkb_kt_map_entry_t *data;
  425. int rem;
  426. int index;
  427. } xcb_xkb_kt_map_entry_iterator_t;
  428. /**
  429. * @brief xcb_xkb_key_type_t
  430. **/
  431. typedef struct xcb_xkb_key_type_t {
  432. uint8_t mods_mask;
  433. uint8_t mods_mods;
  434. uint16_t mods_vmods;
  435. uint8_t numLevels;
  436. uint8_t nMapEntries;
  437. uint8_t hasPreserve;
  438. uint8_t pad0;
  439. } xcb_xkb_key_type_t;
  440. /**
  441. * @brief xcb_xkb_key_type_iterator_t
  442. **/
  443. typedef struct xcb_xkb_key_type_iterator_t {
  444. xcb_xkb_key_type_t *data;
  445. int rem;
  446. int index;
  447. } xcb_xkb_key_type_iterator_t;
  448. /**
  449. * @brief xcb_xkb_key_sym_map_t
  450. **/
  451. typedef struct xcb_xkb_key_sym_map_t {
  452. uint8_t kt_index[4];
  453. uint8_t groupInfo;
  454. uint8_t width;
  455. uint16_t nSyms;
  456. } xcb_xkb_key_sym_map_t;
  457. /**
  458. * @brief xcb_xkb_key_sym_map_iterator_t
  459. **/
  460. typedef struct xcb_xkb_key_sym_map_iterator_t {
  461. xcb_xkb_key_sym_map_t *data;
  462. int rem;
  463. int index;
  464. } xcb_xkb_key_sym_map_iterator_t;
  465. /**
  466. * @brief xcb_xkb_common_behavior_t
  467. **/
  468. typedef struct xcb_xkb_common_behavior_t {
  469. uint8_t type;
  470. uint8_t data;
  471. } xcb_xkb_common_behavior_t;
  472. /**
  473. * @brief xcb_xkb_common_behavior_iterator_t
  474. **/
  475. typedef struct xcb_xkb_common_behavior_iterator_t {
  476. xcb_xkb_common_behavior_t *data;
  477. int rem;
  478. int index;
  479. } xcb_xkb_common_behavior_iterator_t;
  480. /**
  481. * @brief xcb_xkb_default_behavior_t
  482. **/
  483. typedef struct xcb_xkb_default_behavior_t {
  484. uint8_t type;
  485. uint8_t pad0;
  486. } xcb_xkb_default_behavior_t;
  487. /**
  488. * @brief xcb_xkb_default_behavior_iterator_t
  489. **/
  490. typedef struct xcb_xkb_default_behavior_iterator_t {
  491. xcb_xkb_default_behavior_t *data;
  492. int rem;
  493. int index;
  494. } xcb_xkb_default_behavior_iterator_t;
  495. /**
  496. * @brief xcb_xkb_lock_behavior_t
  497. **/
  498. typedef struct xcb_xkb_lock_behavior_t {
  499. uint8_t type;
  500. uint8_t pad0;
  501. } xcb_xkb_lock_behavior_t;
  502. /**
  503. * @brief xcb_xkb_lock_behavior_iterator_t
  504. **/
  505. typedef struct xcb_xkb_lock_behavior_iterator_t {
  506. xcb_xkb_lock_behavior_t *data;
  507. int rem;
  508. int index;
  509. } xcb_xkb_lock_behavior_iterator_t;
  510. /**
  511. * @brief xcb_xkb_radio_group_behavior_t
  512. **/
  513. typedef struct xcb_xkb_radio_group_behavior_t {
  514. uint8_t type;
  515. uint8_t group;
  516. } xcb_xkb_radio_group_behavior_t;
  517. /**
  518. * @brief xcb_xkb_radio_group_behavior_iterator_t
  519. **/
  520. typedef struct xcb_xkb_radio_group_behavior_iterator_t {
  521. xcb_xkb_radio_group_behavior_t *data;
  522. int rem;
  523. int index;
  524. } xcb_xkb_radio_group_behavior_iterator_t;
  525. /**
  526. * @brief xcb_xkb_overlay_behavior_t
  527. **/
  528. typedef struct xcb_xkb_overlay_behavior_t {
  529. uint8_t type;
  530. xcb_keycode_t key;
  531. } xcb_xkb_overlay_behavior_t;
  532. /**
  533. * @brief xcb_xkb_overlay_behavior_iterator_t
  534. **/
  535. typedef struct xcb_xkb_overlay_behavior_iterator_t {
  536. xcb_xkb_overlay_behavior_t *data;
  537. int rem;
  538. int index;
  539. } xcb_xkb_overlay_behavior_iterator_t;
  540. /**
  541. * @brief xcb_xkb_permament_lock_behavior_t
  542. **/
  543. typedef struct xcb_xkb_permament_lock_behavior_t {
  544. uint8_t type;
  545. uint8_t pad0;
  546. } xcb_xkb_permament_lock_behavior_t;
  547. /**
  548. * @brief xcb_xkb_permament_lock_behavior_iterator_t
  549. **/
  550. typedef struct xcb_xkb_permament_lock_behavior_iterator_t {
  551. xcb_xkb_permament_lock_behavior_t *data;
  552. int rem;
  553. int index;
  554. } xcb_xkb_permament_lock_behavior_iterator_t;
  555. /**
  556. * @brief xcb_xkb_permament_radio_group_behavior_t
  557. **/
  558. typedef struct xcb_xkb_permament_radio_group_behavior_t {
  559. uint8_t type;
  560. uint8_t group;
  561. } xcb_xkb_permament_radio_group_behavior_t;
  562. /**
  563. * @brief xcb_xkb_permament_radio_group_behavior_iterator_t
  564. **/
  565. typedef struct xcb_xkb_permament_radio_group_behavior_iterator_t {
  566. xcb_xkb_permament_radio_group_behavior_t *data;
  567. int rem;
  568. int index;
  569. } xcb_xkb_permament_radio_group_behavior_iterator_t;
  570. /**
  571. * @brief xcb_xkb_permament_overlay_behavior_t
  572. **/
  573. typedef struct xcb_xkb_permament_overlay_behavior_t {
  574. uint8_t type;
  575. xcb_keycode_t key;
  576. } xcb_xkb_permament_overlay_behavior_t;
  577. /**
  578. * @brief xcb_xkb_permament_overlay_behavior_iterator_t
  579. **/
  580. typedef struct xcb_xkb_permament_overlay_behavior_iterator_t {
  581. xcb_xkb_permament_overlay_behavior_t *data;
  582. int rem;
  583. int index;
  584. } xcb_xkb_permament_overlay_behavior_iterator_t;
  585. /**
  586. * @brief xcb_xkb_behavior_t
  587. **/
  588. typedef union xcb_xkb_behavior_t {
  589. xcb_xkb_common_behavior_t common;
  590. xcb_xkb_default_behavior_t _default;
  591. xcb_xkb_lock_behavior_t lock;
  592. xcb_xkb_radio_group_behavior_t radioGroup;
  593. xcb_xkb_overlay_behavior_t overlay1;
  594. xcb_xkb_overlay_behavior_t overlay2;
  595. xcb_xkb_permament_lock_behavior_t permamentLock;
  596. xcb_xkb_permament_radio_group_behavior_t permamentRadioGroup;
  597. xcb_xkb_permament_overlay_behavior_t permamentOverlay1;
  598. xcb_xkb_permament_overlay_behavior_t permamentOverlay2;
  599. uint8_t type;
  600. } xcb_xkb_behavior_t;
  601. /**
  602. * @brief xcb_xkb_behavior_iterator_t
  603. **/
  604. typedef struct xcb_xkb_behavior_iterator_t {
  605. xcb_xkb_behavior_t *data;
  606. int rem;
  607. int index;
  608. } xcb_xkb_behavior_iterator_t;
  609. typedef enum xcb_xkb_behavior_type_t {
  610. XCB_XKB_BEHAVIOR_TYPE_DEFAULT = 0,
  611. XCB_XKB_BEHAVIOR_TYPE_LOCK = 1,
  612. XCB_XKB_BEHAVIOR_TYPE_RADIO_GROUP = 2,
  613. XCB_XKB_BEHAVIOR_TYPE_OVERLAY_1 = 3,
  614. XCB_XKB_BEHAVIOR_TYPE_OVERLAY_2 = 4,
  615. XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_LOCK = 129,
  616. XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_RADIO_GROUP = 130,
  617. XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_1 = 131,
  618. XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_2 = 132
  619. } xcb_xkb_behavior_type_t;
  620. /**
  621. * @brief xcb_xkb_set_behavior_t
  622. **/
  623. typedef struct xcb_xkb_set_behavior_t {
  624. xcb_keycode_t keycode;
  625. xcb_xkb_behavior_t behavior;
  626. uint8_t pad0;
  627. } xcb_xkb_set_behavior_t;
  628. /**
  629. * @brief xcb_xkb_set_behavior_iterator_t
  630. **/
  631. typedef struct xcb_xkb_set_behavior_iterator_t {
  632. xcb_xkb_set_behavior_t *data;
  633. int rem;
  634. int index;
  635. } xcb_xkb_set_behavior_iterator_t;
  636. /**
  637. * @brief xcb_xkb_set_explicit_t
  638. **/
  639. typedef struct xcb_xkb_set_explicit_t {
  640. xcb_keycode_t keycode;
  641. uint8_t explicit;
  642. } xcb_xkb_set_explicit_t;
  643. /**
  644. * @brief xcb_xkb_set_explicit_iterator_t
  645. **/
  646. typedef struct xcb_xkb_set_explicit_iterator_t {
  647. xcb_xkb_set_explicit_t *data;
  648. int rem;
  649. int index;
  650. } xcb_xkb_set_explicit_iterator_t;
  651. /**
  652. * @brief xcb_xkb_key_mod_map_t
  653. **/
  654. typedef struct xcb_xkb_key_mod_map_t {
  655. xcb_keycode_t keycode;
  656. uint8_t mods;
  657. } xcb_xkb_key_mod_map_t;
  658. /**
  659. * @brief xcb_xkb_key_mod_map_iterator_t
  660. **/
  661. typedef struct xcb_xkb_key_mod_map_iterator_t {
  662. xcb_xkb_key_mod_map_t *data;
  663. int rem;
  664. int index;
  665. } xcb_xkb_key_mod_map_iterator_t;
  666. /**
  667. * @brief xcb_xkb_key_v_mod_map_t
  668. **/
  669. typedef struct xcb_xkb_key_v_mod_map_t {
  670. xcb_keycode_t keycode;
  671. uint8_t pad0;
  672. uint16_t vmods;
  673. } xcb_xkb_key_v_mod_map_t;
  674. /**
  675. * @brief xcb_xkb_key_v_mod_map_iterator_t
  676. **/
  677. typedef struct xcb_xkb_key_v_mod_map_iterator_t {
  678. xcb_xkb_key_v_mod_map_t *data;
  679. int rem;
  680. int index;
  681. } xcb_xkb_key_v_mod_map_iterator_t;
  682. /**
  683. * @brief xcb_xkb_kt_set_map_entry_t
  684. **/
  685. typedef struct xcb_xkb_kt_set_map_entry_t {
  686. uint8_t level;
  687. uint8_t realMods;
  688. uint16_t virtualMods;
  689. } xcb_xkb_kt_set_map_entry_t;
  690. /**
  691. * @brief xcb_xkb_kt_set_map_entry_iterator_t
  692. **/
  693. typedef struct xcb_xkb_kt_set_map_entry_iterator_t {
  694. xcb_xkb_kt_set_map_entry_t *data;
  695. int rem;
  696. int index;
  697. } xcb_xkb_kt_set_map_entry_iterator_t;
  698. /**
  699. * @brief xcb_xkb_set_key_type_t
  700. **/
  701. typedef struct xcb_xkb_set_key_type_t {
  702. uint8_t mask;
  703. uint8_t realMods;
  704. uint16_t virtualMods;
  705. uint8_t numLevels;
  706. uint8_t nMapEntries;
  707. uint8_t preserve;
  708. uint8_t pad0;
  709. } xcb_xkb_set_key_type_t;
  710. /**
  711. * @brief xcb_xkb_set_key_type_iterator_t
  712. **/
  713. typedef struct xcb_xkb_set_key_type_iterator_t {
  714. xcb_xkb_set_key_type_t *data;
  715. int rem;
  716. int index;
  717. } xcb_xkb_set_key_type_iterator_t;
  718. typedef char xcb_xkb_string8_t;
  719. /**
  720. * @brief xcb_xkb_string8_iterator_t
  721. **/
  722. typedef struct xcb_xkb_string8_iterator_t {
  723. xcb_xkb_string8_t *data;
  724. int rem;
  725. int index;
  726. } xcb_xkb_string8_iterator_t;
  727. /**
  728. * @brief xcb_xkb_outline_t
  729. **/
  730. typedef struct xcb_xkb_outline_t {
  731. uint8_t nPoints;
  732. uint8_t cornerRadius;
  733. uint8_t pad0[2];
  734. } xcb_xkb_outline_t;
  735. /**
  736. * @brief xcb_xkb_outline_iterator_t
  737. **/
  738. typedef struct xcb_xkb_outline_iterator_t {
  739. xcb_xkb_outline_t *data;
  740. int rem;
  741. int index;
  742. } xcb_xkb_outline_iterator_t;
  743. /**
  744. * @brief xcb_xkb_shape_t
  745. **/
  746. typedef struct xcb_xkb_shape_t {
  747. xcb_atom_t name;
  748. uint8_t nOutlines;
  749. uint8_t primaryNdx;
  750. uint8_t approxNdx;
  751. uint8_t pad0;
  752. } xcb_xkb_shape_t;
  753. /**
  754. * @brief xcb_xkb_shape_iterator_t
  755. **/
  756. typedef struct xcb_xkb_shape_iterator_t {
  757. xcb_xkb_shape_t *data;
  758. int rem;
  759. int index;
  760. } xcb_xkb_shape_iterator_t;
  761. /**
  762. * @brief xcb_xkb_key_t
  763. **/
  764. typedef struct xcb_xkb_key_t {
  765. xcb_xkb_string8_t name[4];
  766. int16_t gap;
  767. uint8_t shapeNdx;
  768. uint8_t colorNdx;
  769. } xcb_xkb_key_t;
  770. /**
  771. * @brief xcb_xkb_key_iterator_t
  772. **/
  773. typedef struct xcb_xkb_key_iterator_t {
  774. xcb_xkb_key_t *data;
  775. int rem;
  776. int index;
  777. } xcb_xkb_key_iterator_t;
  778. /**
  779. * @brief xcb_xkb_overlay_key_t
  780. **/
  781. typedef struct xcb_xkb_overlay_key_t {
  782. xcb_xkb_string8_t over[4];
  783. xcb_xkb_string8_t under[4];
  784. } xcb_xkb_overlay_key_t;
  785. /**
  786. * @brief xcb_xkb_overlay_key_iterator_t
  787. **/
  788. typedef struct xcb_xkb_overlay_key_iterator_t {
  789. xcb_xkb_overlay_key_t *data;
  790. int rem;
  791. int index;
  792. } xcb_xkb_overlay_key_iterator_t;
  793. /**
  794. * @brief xcb_xkb_overlay_row_t
  795. **/
  796. typedef struct xcb_xkb_overlay_row_t {
  797. uint8_t rowUnder;
  798. uint8_t nKeys;
  799. uint8_t pad0[2];
  800. } xcb_xkb_overlay_row_t;
  801. /**
  802. * @brief xcb_xkb_overlay_row_iterator_t
  803. **/
  804. typedef struct xcb_xkb_overlay_row_iterator_t {
  805. xcb_xkb_overlay_row_t *data;
  806. int rem;
  807. int index;
  808. } xcb_xkb_overlay_row_iterator_t;
  809. /**
  810. * @brief xcb_xkb_overlay_t
  811. **/
  812. typedef struct xcb_xkb_overlay_t {
  813. xcb_atom_t name;
  814. uint8_t nRows;
  815. uint8_t pad0[3];
  816. } xcb_xkb_overlay_t;
  817. /**
  818. * @brief xcb_xkb_overlay_iterator_t
  819. **/
  820. typedef struct xcb_xkb_overlay_iterator_t {
  821. xcb_xkb_overlay_t *data;
  822. int rem;
  823. int index;
  824. } xcb_xkb_overlay_iterator_t;
  825. /**
  826. * @brief xcb_xkb_row_t
  827. **/
  828. typedef struct xcb_xkb_row_t {
  829. int16_t top;
  830. int16_t left;
  831. uint8_t nKeys;
  832. uint8_t vertical;
  833. uint8_t pad0[2];
  834. } xcb_xkb_row_t;
  835. /**
  836. * @brief xcb_xkb_row_iterator_t
  837. **/
  838. typedef struct xcb_xkb_row_iterator_t {
  839. xcb_xkb_row_t *data;
  840. int rem;
  841. int index;
  842. } xcb_xkb_row_iterator_t;
  843. typedef enum xcb_xkb_doodad_type_t {
  844. XCB_XKB_DOODAD_TYPE_OUTLINE = 1,
  845. XCB_XKB_DOODAD_TYPE_SOLID = 2,
  846. XCB_XKB_DOODAD_TYPE_TEXT = 3,
  847. XCB_XKB_DOODAD_TYPE_INDICATOR = 4,
  848. XCB_XKB_DOODAD_TYPE_LOGO = 5
  849. } xcb_xkb_doodad_type_t;
  850. /**
  851. * @brief xcb_xkb_listing_t
  852. **/
  853. typedef struct xcb_xkb_listing_t {
  854. uint16_t flags;
  855. uint16_t length;
  856. } xcb_xkb_listing_t;
  857. /**
  858. * @brief xcb_xkb_listing_iterator_t
  859. **/
  860. typedef struct xcb_xkb_listing_iterator_t {
  861. xcb_xkb_listing_t *data;
  862. int rem;
  863. int index;
  864. } xcb_xkb_listing_iterator_t;
  865. /**
  866. * @brief xcb_xkb_device_led_info_t
  867. **/
  868. typedef struct xcb_xkb_device_led_info_t {
  869. xcb_xkb_led_class_spec_t ledClass;
  870. xcb_xkb_id_spec_t ledID;
  871. uint32_t namesPresent;
  872. uint32_t mapsPresent;
  873. uint32_t physIndicators;
  874. uint32_t state;
  875. } xcb_xkb_device_led_info_t;
  876. /**
  877. * @brief xcb_xkb_device_led_info_iterator_t
  878. **/
  879. typedef struct xcb_xkb_device_led_info_iterator_t {
  880. xcb_xkb_device_led_info_t *data;
  881. int rem;
  882. int index;
  883. } xcb_xkb_device_led_info_iterator_t;
  884. typedef enum xcb_xkb_error_t {
  885. XCB_XKB_ERROR_BAD_DEVICE = 255,
  886. XCB_XKB_ERROR_BAD_CLASS = 254,
  887. XCB_XKB_ERROR_BAD_ID = 253
  888. } xcb_xkb_error_t;
  889. /** Opcode for xcb_xkb_keyboard. */
  890. #define XCB_XKB_KEYBOARD 0
  891. /**
  892. * @brief xcb_xkb_keyboard_error_t
  893. **/
  894. typedef struct xcb_xkb_keyboard_error_t {
  895. uint8_t response_type;
  896. uint8_t error_code;
  897. uint16_t sequence;
  898. uint32_t value;
  899. uint16_t minorOpcode;
  900. uint8_t majorOpcode;
  901. uint8_t pad0[21];
  902. } xcb_xkb_keyboard_error_t;
  903. typedef enum xcb_xkb_sa_t {
  904. XCB_XKB_SA_CLEAR_LOCKS = 1,
  905. XCB_XKB_SA_LATCH_TO_LOCK = 2,
  906. XCB_XKB_SA_USE_MOD_MAP_MODS = 4,
  907. XCB_XKB_SA_GROUP_ABSOLUTE = 4
  908. } xcb_xkb_sa_t;
  909. typedef enum xcb_xkb_sa_type_t {
  910. XCB_XKB_SA_TYPE_NO_ACTION = 0,
  911. XCB_XKB_SA_TYPE_SET_MODS = 1,
  912. XCB_XKB_SA_TYPE_LATCH_MODS = 2,
  913. XCB_XKB_SA_TYPE_LOCK_MODS = 3,
  914. XCB_XKB_SA_TYPE_SET_GROUP = 4,
  915. XCB_XKB_SA_TYPE_LATCH_GROUP = 5,
  916. XCB_XKB_SA_TYPE_LOCK_GROUP = 6,
  917. XCB_XKB_SA_TYPE_MOVE_PTR = 7,
  918. XCB_XKB_SA_TYPE_PTR_BTN = 8,
  919. XCB_XKB_SA_TYPE_LOCK_PTR_BTN = 9,
  920. XCB_XKB_SA_TYPE_SET_PTR_DFLT = 10,
  921. XCB_XKB_SA_TYPE_ISO_LOCK = 11,
  922. XCB_XKB_SA_TYPE_TERMINATE = 12,
  923. XCB_XKB_SA_TYPE_SWITCH_SCREEN = 13,
  924. XCB_XKB_SA_TYPE_SET_CONTROLS = 14,
  925. XCB_XKB_SA_TYPE_LOCK_CONTROLS = 15,
  926. XCB_XKB_SA_TYPE_ACTION_MESSAGE = 16,
  927. XCB_XKB_SA_TYPE_REDIRECT_KEY = 17,
  928. XCB_XKB_SA_TYPE_DEVICE_BTN = 18,
  929. XCB_XKB_SA_TYPE_LOCK_DEVICE_BTN = 19,
  930. XCB_XKB_SA_TYPE_DEVICE_VALUATOR = 20
  931. } xcb_xkb_sa_type_t;
  932. /**
  933. * @brief xcb_xkb_sa_no_action_t
  934. **/
  935. typedef struct xcb_xkb_sa_no_action_t {
  936. uint8_t type;
  937. uint8_t pad0[7];
  938. } xcb_xkb_sa_no_action_t;
  939. /**
  940. * @brief xcb_xkb_sa_no_action_iterator_t
  941. **/
  942. typedef struct xcb_xkb_sa_no_action_iterator_t {
  943. xcb_xkb_sa_no_action_t *data;
  944. int rem;
  945. int index;
  946. } xcb_xkb_sa_no_action_iterator_t;
  947. /**
  948. * @brief xcb_xkb_sa_set_mods_t
  949. **/
  950. typedef struct xcb_xkb_sa_set_mods_t {
  951. uint8_t type;
  952. uint8_t flags;
  953. uint8_t mask;
  954. uint8_t realMods;
  955. uint8_t vmodsHigh;
  956. uint8_t vmodsLow;
  957. uint8_t pad0[2];
  958. } xcb_xkb_sa_set_mods_t;
  959. /**
  960. * @brief xcb_xkb_sa_set_mods_iterator_t
  961. **/
  962. typedef struct xcb_xkb_sa_set_mods_iterator_t {
  963. xcb_xkb_sa_set_mods_t *data;
  964. int rem;
  965. int index;
  966. } xcb_xkb_sa_set_mods_iterator_t;
  967. /**
  968. * @brief xcb_xkb_sa_latch_mods_t
  969. **/
  970. typedef struct xcb_xkb_sa_latch_mods_t {
  971. uint8_t type;
  972. uint8_t flags;
  973. uint8_t mask;
  974. uint8_t realMods;
  975. uint8_t vmodsHigh;
  976. uint8_t vmodsLow;
  977. uint8_t pad0[2];
  978. } xcb_xkb_sa_latch_mods_t;
  979. /**
  980. * @brief xcb_xkb_sa_latch_mods_iterator_t
  981. **/
  982. typedef struct xcb_xkb_sa_latch_mods_iterator_t {
  983. xcb_xkb_sa_latch_mods_t *data;
  984. int rem;
  985. int index;
  986. } xcb_xkb_sa_latch_mods_iterator_t;
  987. /**
  988. * @brief xcb_xkb_sa_lock_mods_t
  989. **/
  990. typedef struct xcb_xkb_sa_lock_mods_t {
  991. uint8_t type;
  992. uint8_t flags;
  993. uint8_t mask;
  994. uint8_t realMods;
  995. uint8_t vmodsHigh;
  996. uint8_t vmodsLow;
  997. uint8_t pad0[2];
  998. } xcb_xkb_sa_lock_mods_t;
  999. /**
  1000. * @brief xcb_xkb_sa_lock_mods_iterator_t
  1001. **/
  1002. typedef struct xcb_xkb_sa_lock_mods_iterator_t {
  1003. xcb_xkb_sa_lock_mods_t *data;
  1004. int rem;
  1005. int index;
  1006. } xcb_xkb_sa_lock_mods_iterator_t;
  1007. /**
  1008. * @brief xcb_xkb_sa_set_group_t
  1009. **/
  1010. typedef struct xcb_xkb_sa_set_group_t {
  1011. uint8_t type;
  1012. uint8_t flags;
  1013. int8_t group;
  1014. uint8_t pad0[5];
  1015. } xcb_xkb_sa_set_group_t;
  1016. /**
  1017. * @brief xcb_xkb_sa_set_group_iterator_t
  1018. **/
  1019. typedef struct xcb_xkb_sa_set_group_iterator_t {
  1020. xcb_xkb_sa_set_group_t *data;
  1021. int rem;
  1022. int index;
  1023. } xcb_xkb_sa_set_group_iterator_t;
  1024. /**
  1025. * @brief xcb_xkb_sa_latch_group_t
  1026. **/
  1027. typedef struct xcb_xkb_sa_latch_group_t {
  1028. uint8_t type;
  1029. uint8_t flags;
  1030. int8_t group;
  1031. uint8_t pad0[5];
  1032. } xcb_xkb_sa_latch_group_t;
  1033. /**
  1034. * @brief xcb_xkb_sa_latch_group_iterator_t
  1035. **/
  1036. typedef struct xcb_xkb_sa_latch_group_iterator_t {
  1037. xcb_xkb_sa_latch_group_t *data;
  1038. int rem;
  1039. int index;
  1040. } xcb_xkb_sa_latch_group_iterator_t;
  1041. /**
  1042. * @brief xcb_xkb_sa_lock_group_t
  1043. **/
  1044. typedef struct xcb_xkb_sa_lock_group_t {
  1045. uint8_t type;
  1046. uint8_t flags;
  1047. int8_t group;
  1048. uint8_t pad0[5];
  1049. } xcb_xkb_sa_lock_group_t;
  1050. /**
  1051. * @brief xcb_xkb_sa_lock_group_iterator_t
  1052. **/
  1053. typedef struct xcb_xkb_sa_lock_group_iterator_t {
  1054. xcb_xkb_sa_lock_group_t *data;
  1055. int rem;
  1056. int index;
  1057. } xcb_xkb_sa_lock_group_iterator_t;
  1058. typedef enum xcb_xkb_sa_move_ptr_flag_t {
  1059. XCB_XKB_SA_MOVE_PTR_FLAG_NO_ACCELERATION = 1,
  1060. XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_X = 2,
  1061. XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_Y = 4
  1062. } xcb_xkb_sa_move_ptr_flag_t;
  1063. /**
  1064. * @brief xcb_xkb_sa_move_ptr_t
  1065. **/
  1066. typedef struct xcb_xkb_sa_move_ptr_t {
  1067. uint8_t type;
  1068. uint8_t flags;
  1069. int8_t xHigh;
  1070. uint8_t xLow;
  1071. int8_t yHigh;
  1072. uint8_t yLow;
  1073. uint8_t pad0[2];
  1074. } xcb_xkb_sa_move_ptr_t;
  1075. /**
  1076. * @brief xcb_xkb_sa_move_ptr_iterator_t
  1077. **/
  1078. typedef struct xcb_xkb_sa_move_ptr_iterator_t {
  1079. xcb_xkb_sa_move_ptr_t *data;
  1080. int rem;
  1081. int index;
  1082. } xcb_xkb_sa_move_ptr_iterator_t;
  1083. /**
  1084. * @brief xcb_xkb_sa_ptr_btn_t
  1085. **/
  1086. typedef struct xcb_xkb_sa_ptr_btn_t {
  1087. uint8_t type;
  1088. uint8_t flags;
  1089. uint8_t count;
  1090. uint8_t button;
  1091. uint8_t pad0[4];
  1092. } xcb_xkb_sa_ptr_btn_t;
  1093. /**
  1094. * @brief xcb_xkb_sa_ptr_btn_iterator_t
  1095. **/
  1096. typedef struct xcb_xkb_sa_ptr_btn_iterator_t {
  1097. xcb_xkb_sa_ptr_btn_t *data;
  1098. int rem;
  1099. int index;
  1100. } xcb_xkb_sa_ptr_btn_iterator_t;
  1101. /**
  1102. * @brief xcb_xkb_sa_lock_ptr_btn_t
  1103. **/
  1104. typedef struct xcb_xkb_sa_lock_ptr_btn_t {
  1105. uint8_t type;
  1106. uint8_t flags;
  1107. uint8_t pad0;
  1108. uint8_t button;
  1109. uint8_t pad1[4];
  1110. } xcb_xkb_sa_lock_ptr_btn_t;
  1111. /**
  1112. * @brief xcb_xkb_sa_lock_ptr_btn_iterator_t
  1113. **/
  1114. typedef struct xcb_xkb_sa_lock_ptr_btn_iterator_t {
  1115. xcb_xkb_sa_lock_ptr_btn_t *data;
  1116. int rem;
  1117. int index;
  1118. } xcb_xkb_sa_lock_ptr_btn_iterator_t;
  1119. typedef enum xcb_xkb_sa_set_ptr_dflt_flag_t {
  1120. XCB_XKB_SA_SET_PTR_DFLT_FLAG_DFLT_BTN_ABSOLUTE = 4,
  1121. XCB_XKB_SA_SET_PTR_DFLT_FLAG_AFFECT_DFLT_BUTTON = 1
  1122. } xcb_xkb_sa_set_ptr_dflt_flag_t;
  1123. /**
  1124. * @brief xcb_xkb_sa_set_ptr_dflt_t
  1125. **/
  1126. typedef struct xcb_xkb_sa_set_ptr_dflt_t {
  1127. uint8_t type;
  1128. uint8_t flags;
  1129. uint8_t affect;
  1130. int8_t value;
  1131. uint8_t pad0[4];
  1132. } xcb_xkb_sa_set_ptr_dflt_t;
  1133. /**
  1134. * @brief xcb_xkb_sa_set_ptr_dflt_iterator_t
  1135. **/
  1136. typedef struct xcb_xkb_sa_set_ptr_dflt_iterator_t {
  1137. xcb_xkb_sa_set_ptr_dflt_t *data;
  1138. int rem;
  1139. int index;
  1140. } xcb_xkb_sa_set_ptr_dflt_iterator_t;
  1141. typedef enum xcb_xkb_sa_iso_lock_flag_t {
  1142. XCB_XKB_SA_ISO_LOCK_FLAG_NO_LOCK = 1,
  1143. XCB_XKB_SA_ISO_LOCK_FLAG_NO_UNLOCK = 2,
  1144. XCB_XKB_SA_ISO_LOCK_FLAG_USE_MOD_MAP_MODS = 4,
  1145. XCB_XKB_SA_ISO_LOCK_FLAG_GROUP_ABSOLUTE = 4,
  1146. XCB_XKB_SA_ISO_LOCK_FLAG_ISO_DFLT_IS_GROUP = 8
  1147. } xcb_xkb_sa_iso_lock_flag_t;
  1148. typedef enum xcb_xkb_sa_iso_lock_no_affect_t {
  1149. XCB_XKB_SA_ISO_LOCK_NO_AFFECT_CTRLS = 8,
  1150. XCB_XKB_SA_ISO_LOCK_NO_AFFECT_PTR = 16,
  1151. XCB_XKB_SA_ISO_LOCK_NO_AFFECT_GROUP = 32,
  1152. XCB_XKB_SA_ISO_LOCK_NO_AFFECT_MODS = 64
  1153. } xcb_xkb_sa_iso_lock_no_affect_t;
  1154. /**
  1155. * @brief xcb_xkb_sa_iso_lock_t
  1156. **/
  1157. typedef struct xcb_xkb_sa_iso_lock_t {
  1158. uint8_t type;
  1159. uint8_t flags;
  1160. uint8_t mask;
  1161. uint8_t realMods;
  1162. int8_t group;
  1163. uint8_t affect;
  1164. uint8_t vmodsHigh;
  1165. uint8_t vmodsLow;
  1166. } xcb_xkb_sa_iso_lock_t;
  1167. /**
  1168. * @brief xcb_xkb_sa_iso_lock_iterator_t
  1169. **/
  1170. typedef struct xcb_xkb_sa_iso_lock_iterator_t {
  1171. xcb_xkb_sa_iso_lock_t *data;
  1172. int rem;
  1173. int index;
  1174. } xcb_xkb_sa_iso_lock_iterator_t;
  1175. /**
  1176. * @brief xcb_xkb_sa_terminate_t
  1177. **/
  1178. typedef struct xcb_xkb_sa_terminate_t {
  1179. uint8_t type;
  1180. uint8_t pad0[7];
  1181. } xcb_xkb_sa_terminate_t;
  1182. /**
  1183. * @brief xcb_xkb_sa_terminate_iterator_t
  1184. **/
  1185. typedef struct xcb_xkb_sa_terminate_iterator_t {
  1186. xcb_xkb_sa_terminate_t *data;
  1187. int rem;
  1188. int index;
  1189. } xcb_xkb_sa_terminate_iterator_t;
  1190. typedef enum xcb_xkb_switch_screen_flag_t {
  1191. XCB_XKB_SWITCH_SCREEN_FLAG_APPLICATION = 1,
  1192. XCB_XKB_SWITCH_SCREEN_FLAG_ABSOLUTE = 4
  1193. } xcb_xkb_switch_screen_flag_t;
  1194. /**
  1195. * @brief xcb_xkb_sa_switch_screen_t
  1196. **/
  1197. typedef struct xcb_xkb_sa_switch_screen_t {
  1198. uint8_t type;
  1199. uint8_t flags;
  1200. int8_t newScreen;
  1201. uint8_t pad0[5];
  1202. } xcb_xkb_sa_switch_screen_t;
  1203. /**
  1204. * @brief xcb_xkb_sa_switch_screen_iterator_t
  1205. **/
  1206. typedef struct xcb_xkb_sa_switch_screen_iterator_t {
  1207. xcb_xkb_sa_switch_screen_t *data;
  1208. int rem;
  1209. int index;
  1210. } xcb_xkb_sa_switch_screen_iterator_t;
  1211. typedef enum xcb_xkb_bool_ctrls_high_t {
  1212. XCB_XKB_BOOL_CTRLS_HIGH_ACCESS_X_FEEDBACK = 1,
  1213. XCB_XKB_BOOL_CTRLS_HIGH_AUDIBLE_BELL = 2,
  1214. XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_1 = 4,
  1215. XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_2 = 8,
  1216. XCB_XKB_BOOL_CTRLS_HIGH_IGNORE_GROUP_LOCK = 16
  1217. } xcb_xkb_bool_ctrls_high_t;
  1218. typedef enum xcb_xkb_bool_ctrls_low_t {
  1219. XCB_XKB_BOOL_CTRLS_LOW_REPEAT_KEYS = 1,
  1220. XCB_XKB_BOOL_CTRLS_LOW_SLOW_KEYS = 2,
  1221. XCB_XKB_BOOL_CTRLS_LOW_BOUNCE_KEYS = 4,
  1222. XCB_XKB_BOOL_CTRLS_LOW_STICKY_KEYS = 8,
  1223. XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS = 16,
  1224. XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS_ACCEL = 32,
  1225. XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_KEYS = 64,
  1226. XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_TIMEOUT = 128
  1227. } xcb_xkb_bool_ctrls_low_t;
  1228. /**
  1229. * @brief xcb_xkb_sa_set_controls_t
  1230. **/
  1231. typedef struct xcb_xkb_sa_set_controls_t {
  1232. uint8_t type;
  1233. uint8_t pad0[3];
  1234. uint8_t boolCtrlsHigh;
  1235. uint8_t boolCtrlsLow;
  1236. uint8_t pad1[2];
  1237. } xcb_xkb_sa_set_controls_t;
  1238. /**
  1239. * @brief xcb_xkb_sa_set_controls_iterator_t
  1240. **/
  1241. typedef struct xcb_xkb_sa_set_controls_iterator_t {
  1242. xcb_xkb_sa_set_controls_t *data;
  1243. int rem;
  1244. int index;
  1245. } xcb_xkb_sa_set_controls_iterator_t;
  1246. /**
  1247. * @brief xcb_xkb_sa_lock_controls_t
  1248. **/
  1249. typedef struct xcb_xkb_sa_lock_controls_t {
  1250. uint8_t type;
  1251. uint8_t pad0[3];
  1252. uint8_t boolCtrlsHigh;
  1253. uint8_t boolCtrlsLow;
  1254. uint8_t pad1[2];
  1255. } xcb_xkb_sa_lock_controls_t;
  1256. /**
  1257. * @brief xcb_xkb_sa_lock_controls_iterator_t
  1258. **/
  1259. typedef struct xcb_xkb_sa_lock_controls_iterator_t {
  1260. xcb_xkb_sa_lock_controls_t *data;
  1261. int rem;
  1262. int index;
  1263. } xcb_xkb_sa_lock_controls_iterator_t;
  1264. typedef enum xcb_xkb_action_message_flag_t {
  1265. XCB_XKB_ACTION_MESSAGE_FLAG_ON_PRESS = 1,
  1266. XCB_XKB_ACTION_MESSAGE_FLAG_ON_RELEASE = 2,
  1267. XCB_XKB_ACTION_MESSAGE_FLAG_GEN_KEY_EVENT = 4
  1268. } xcb_xkb_action_message_flag_t;
  1269. /**
  1270. * @brief xcb_xkb_sa_action_message_t
  1271. **/
  1272. typedef struct xcb_xkb_sa_action_message_t {
  1273. uint8_t type;
  1274. uint8_t flags;
  1275. uint8_t message[6];
  1276. } xcb_xkb_sa_action_message_t;
  1277. /**
  1278. * @brief xcb_xkb_sa_action_message_iterator_t
  1279. **/
  1280. typedef struct xcb_xkb_sa_action_message_iterator_t {
  1281. xcb_xkb_sa_action_message_t *data;
  1282. int rem;
  1283. int index;
  1284. } xcb_xkb_sa_action_message_iterator_t;
  1285. /**
  1286. * @brief xcb_xkb_sa_redirect_key_t
  1287. **/
  1288. typedef struct xcb_xkb_sa_redirect_key_t {
  1289. uint8_t type;
  1290. xcb_keycode_t newkey;
  1291. uint8_t mask;
  1292. uint8_t realModifiers;
  1293. uint8_t vmodsMaskHigh;
  1294. uint8_t vmodsMaskLow;
  1295. uint8_t vmodsHigh;
  1296. uint8_t vmodsLow;
  1297. } xcb_xkb_sa_redirect_key_t;
  1298. /**
  1299. * @brief xcb_xkb_sa_redirect_key_iterator_t
  1300. **/
  1301. typedef struct xcb_xkb_sa_redirect_key_iterator_t {
  1302. xcb_xkb_sa_redirect_key_t *data;
  1303. int rem;
  1304. int index;
  1305. } xcb_xkb_sa_redirect_key_iterator_t;
  1306. /**
  1307. * @brief xcb_xkb_sa_device_btn_t
  1308. **/
  1309. typedef struct xcb_xkb_sa_device_btn_t {
  1310. uint8_t type;
  1311. uint8_t flags;
  1312. uint8_t count;
  1313. uint8_t button;
  1314. uint8_t device;
  1315. uint8_t pad0[3];
  1316. } xcb_xkb_sa_device_btn_t;
  1317. /**
  1318. * @brief xcb_xkb_sa_device_btn_iterator_t
  1319. **/
  1320. typedef struct xcb_xkb_sa_device_btn_iterator_t {
  1321. xcb_xkb_sa_device_btn_t *data;
  1322. int rem;
  1323. int index;
  1324. } xcb_xkb_sa_device_btn_iterator_t;
  1325. typedef enum xcb_xkb_lock_device_flags_t {
  1326. XCB_XKB_LOCK_DEVICE_FLAGS_NO_LOCK = 1,
  1327. XCB_XKB_LOCK_DEVICE_FLAGS_NO_UNLOCK = 2
  1328. } xcb_xkb_lock_device_flags_t;
  1329. /**
  1330. * @brief xcb_xkb_sa_lock_device_btn_t
  1331. **/
  1332. typedef struct xcb_xkb_sa_lock_device_btn_t {
  1333. uint8_t type;
  1334. uint8_t flags;
  1335. uint8_t pad0;
  1336. uint8_t button;
  1337. uint8_t device;
  1338. uint8_t pad1[3];
  1339. } xcb_xkb_sa_lock_device_btn_t;
  1340. /**
  1341. * @brief xcb_xkb_sa_lock_device_btn_iterator_t
  1342. **/
  1343. typedef struct xcb_xkb_sa_lock_device_btn_iterator_t {
  1344. xcb_xkb_sa_lock_device_btn_t *data;
  1345. int rem;
  1346. int index;
  1347. } xcb_xkb_sa_lock_device_btn_iterator_t;
  1348. typedef enum xcb_xkb_sa_val_what_t {
  1349. XCB_XKB_SA_VAL_WHAT_IGNORE_VAL = 0,
  1350. XCB_XKB_SA_VAL_WHAT_SET_VAL_MIN = 1,
  1351. XCB_XKB_SA_VAL_WHAT_SET_VAL_CENTER = 2,
  1352. XCB_XKB_SA_VAL_WHAT_SET_VAL_MAX = 3,
  1353. XCB_XKB_SA_VAL_WHAT_SET_VAL_RELATIVE = 4,
  1354. XCB_XKB_SA_VAL_WHAT_SET_VAL_ABSOLUTE = 5
  1355. } xcb_xkb_sa_val_what_t;
  1356. /**
  1357. * @brief xcb_xkb_sa_device_valuator_t
  1358. **/
  1359. typedef struct xcb_xkb_sa_device_valuator_t {
  1360. uint8_t type;
  1361. uint8_t device;
  1362. uint8_t val1what;
  1363. uint8_t val1index;
  1364. uint8_t val1value;
  1365. uint8_t val2what;
  1366. uint8_t val2index;
  1367. uint8_t val2value;
  1368. } xcb_xkb_sa_device_valuator_t;
  1369. /**
  1370. * @brief xcb_xkb_sa_device_valuator_iterator_t
  1371. **/
  1372. typedef struct xcb_xkb_sa_device_valuator_iterator_t {
  1373. xcb_xkb_sa_device_valuator_t *data;
  1374. int rem;
  1375. int index;
  1376. } xcb_xkb_sa_device_valuator_iterator_t;
  1377. /**
  1378. * @brief xcb_xkb_si_action_t
  1379. **/
  1380. typedef struct xcb_xkb_si_action_t {
  1381. uint8_t type;
  1382. uint8_t data[7];
  1383. } xcb_xkb_si_action_t;
  1384. /**
  1385. * @brief xcb_xkb_si_action_iterator_t
  1386. **/
  1387. typedef struct xcb_xkb_si_action_iterator_t {
  1388. xcb_xkb_si_action_t *data;
  1389. int rem;
  1390. int index;
  1391. } xcb_xkb_si_action_iterator_t;
  1392. /**
  1393. * @brief xcb_xkb_sym_interpret_t
  1394. **/
  1395. typedef struct xcb_xkb_sym_interpret_t {
  1396. xcb_keysym_t sym;
  1397. uint8_t mods;
  1398. uint8_t match;
  1399. uint8_t virtualMod;
  1400. uint8_t flags;
  1401. xcb_xkb_si_action_t action;
  1402. } xcb_xkb_sym_interpret_t;
  1403. /**
  1404. * @brief xcb_xkb_sym_interpret_iterator_t
  1405. **/
  1406. typedef struct xcb_xkb_sym_interpret_iterator_t {
  1407. xcb_xkb_sym_interpret_t *data;
  1408. int rem;
  1409. int index;
  1410. } xcb_xkb_sym_interpret_iterator_t;
  1411. /**
  1412. * @brief xcb_xkb_action_t
  1413. **/
  1414. typedef union xcb_xkb_action_t {
  1415. xcb_xkb_sa_no_action_t noaction;
  1416. xcb_xkb_sa_set_mods_t setmods;
  1417. xcb_xkb_sa_latch_mods_t latchmods;
  1418. xcb_xkb_sa_lock_mods_t lockmods;
  1419. xcb_xkb_sa_set_group_t setgroup;
  1420. xcb_xkb_sa_latch_group_t latchgroup;
  1421. xcb_xkb_sa_lock_group_t lockgroup;
  1422. xcb_xkb_sa_move_ptr_t moveptr;
  1423. xcb_xkb_sa_ptr_btn_t ptrbtn;
  1424. xcb_xkb_sa_lock_ptr_btn_t lockptrbtn;
  1425. xcb_xkb_sa_set_ptr_dflt_t setptrdflt;
  1426. xcb_xkb_sa_iso_lock_t isolock;
  1427. xcb_xkb_sa_terminate_t terminate;
  1428. xcb_xkb_sa_switch_screen_t switchscreen;
  1429. xcb_xkb_sa_set_controls_t setcontrols;
  1430. xcb_xkb_sa_lock_controls_t lockcontrols;
  1431. xcb_xkb_sa_action_message_t message;
  1432. xcb_xkb_sa_redirect_key_t redirect;
  1433. xcb_xkb_sa_device_btn_t devbtn;
  1434. xcb_xkb_sa_lock_device_btn_t lockdevbtn;
  1435. xcb_xkb_sa_device_valuator_t devval;
  1436. uint8_t type;
  1437. } xcb_xkb_action_t;
  1438. /**
  1439. * @brief xcb_xkb_action_iterator_t
  1440. **/
  1441. typedef struct xcb_xkb_action_iterator_t {
  1442. xcb_xkb_action_t *data;
  1443. int rem;
  1444. int index;
  1445. } xcb_xkb_action_iterator_t;
  1446. /**
  1447. * @brief xcb_xkb_use_extension_cookie_t
  1448. **/
  1449. typedef struct xcb_xkb_use_extension_cookie_t {
  1450. unsigned int sequence;
  1451. } xcb_xkb_use_extension_cookie_t;
  1452. /** Opcode for xcb_xkb_use_extension. */
  1453. #define XCB_XKB_USE_EXTENSION 0
  1454. /**
  1455. * @brief xcb_xkb_use_extension_request_t
  1456. **/
  1457. typedef struct xcb_xkb_use_extension_request_t {
  1458. uint8_t major_opcode;
  1459. uint8_t minor_opcode;
  1460. uint16_t length;
  1461. uint16_t wantedMajor;
  1462. uint16_t wantedMinor;
  1463. } xcb_xkb_use_extension_request_t;
  1464. /**
  1465. * @brief xcb_xkb_use_extension_reply_t
  1466. **/
  1467. typedef struct xcb_xkb_use_extension_reply_t {
  1468. uint8_t response_type;
  1469. uint8_t supported;
  1470. uint16_t sequence;
  1471. uint32_t length;
  1472. uint16_t serverMajor;
  1473. uint16_t serverMinor;
  1474. uint8_t pad0[20];
  1475. } xcb_xkb_use_extension_reply_t;
  1476. /**
  1477. * @brief xcb_xkb_select_events_details_t
  1478. **/
  1479. typedef struct xcb_xkb_select_events_details_t {
  1480. uint16_t affectNewKeyboard;
  1481. uint16_t newKeyboardDetails;
  1482. uint16_t affectState;
  1483. uint16_t stateDetails;
  1484. uint32_t affectCtrls;
  1485. uint32_t ctrlDetails;
  1486. uint32_t affectIndicatorState;
  1487. uint32_t indicatorStateDetails;
  1488. uint32_t affectIndicatorMap;
  1489. uint32_t indicatorMapDetails;
  1490. uint16_t affectNames;
  1491. uint16_t namesDetails;
  1492. uint8_t affectCompat;
  1493. uint8_t compatDetails;
  1494. uint8_t affectBell;
  1495. uint8_t bellDetails;
  1496. uint8_t affectMsgDetails;
  1497. uint8_t msgDetails;
  1498. uint16_t affectAccessX;
  1499. uint16_t accessXDetails;
  1500. uint16_t affectExtDev;
  1501. uint16_t extdevDetails;
  1502. } xcb_xkb_select_events_details_t;
  1503. /** Opcode for xcb_xkb_select_events. */
  1504. #define XCB_XKB_SELECT_EVENTS 1
  1505. /**
  1506. * @brief xcb_xkb_select_events_request_t
  1507. **/
  1508. typedef struct xcb_xkb_select_events_request_t {
  1509. uint8_t major_opcode;
  1510. uint8_t minor_opcode;
  1511. uint16_t length;
  1512. xcb_xkb_device_spec_t deviceSpec;
  1513. uint16_t affectWhich;
  1514. uint16_t clear;
  1515. uint16_t selectAll;
  1516. uint16_t affectMap;
  1517. uint16_t map;
  1518. } xcb_xkb_select_events_request_t;
  1519. /** Opcode for xcb_xkb_bell. */
  1520. #define XCB_XKB_BELL 3
  1521. /**
  1522. * @brief xcb_xkb_bell_request_t
  1523. **/
  1524. typedef struct xcb_xkb_bell_request_t {
  1525. uint8_t major_opcode;
  1526. uint8_t minor_opcode;
  1527. uint16_t length;
  1528. xcb_xkb_device_spec_t deviceSpec;
  1529. xcb_xkb_bell_class_spec_t bellClass;
  1530. xcb_xkb_id_spec_t bellID;
  1531. int8_t percent;
  1532. uint8_t forceSound;
  1533. uint8_t eventOnly;
  1534. uint8_t pad0;
  1535. int16_t pitch;
  1536. int16_t duration;
  1537. uint8_t pad1[2];
  1538. xcb_atom_t name;
  1539. xcb_window_t window;
  1540. } xcb_xkb_bell_request_t;
  1541. /**
  1542. * @brief xcb_xkb_get_state_cookie_t
  1543. **/
  1544. typedef struct xcb_xkb_get_state_cookie_t {
  1545. unsigned int sequence;
  1546. } xcb_xkb_get_state_cookie_t;
  1547. /** Opcode for xcb_xkb_get_state. */
  1548. #define XCB_XKB_GET_STATE 4
  1549. /**
  1550. * @brief xcb_xkb_get_state_request_t
  1551. **/
  1552. typedef struct xcb_xkb_get_state_request_t {
  1553. uint8_t major_opcode;
  1554. uint8_t minor_opcode;
  1555. uint16_t length;
  1556. xcb_xkb_device_spec_t deviceSpec;
  1557. uint8_t pad0[2];
  1558. } xcb_xkb_get_state_request_t;
  1559. /**
  1560. * @brief xcb_xkb_get_state_reply_t
  1561. **/
  1562. typedef struct xcb_xkb_get_state_reply_t {
  1563. uint8_t response_type;
  1564. uint8_t deviceID;
  1565. uint16_t sequence;
  1566. uint32_t length;
  1567. uint8_t mods;
  1568. uint8_t baseMods;
  1569. uint8_t latchedMods;
  1570. uint8_t lockedMods;
  1571. uint8_t group;
  1572. uint8_t lockedGroup;
  1573. int16_t baseGroup;
  1574. int16_t latchedGroup;
  1575. uint8_t compatState;
  1576. uint8_t grabMods;
  1577. uint8_t compatGrabMods;
  1578. uint8_t lookupMods;
  1579. uint8_t compatLookupMods;
  1580. uint8_t pad0;
  1581. uint16_t ptrBtnState;
  1582. uint8_t pad1[6];
  1583. } xcb_xkb_get_state_reply_t;
  1584. /** Opcode for xcb_xkb_latch_lock_state. */
  1585. #define XCB_XKB_LATCH_LOCK_STATE 5
  1586. /**
  1587. * @brief xcb_xkb_latch_lock_state_request_t
  1588. **/
  1589. typedef struct xcb_xkb_latch_lock_state_request_t {
  1590. uint8_t major_opcode;
  1591. uint8_t minor_opcode;
  1592. uint16_t length;
  1593. xcb_xkb_device_spec_t deviceSpec;
  1594. uint8_t affectModLocks;
  1595. uint8_t modLocks;
  1596. uint8_t lockGroup;
  1597. uint8_t groupLock;
  1598. uint8_t affectModLatches;
  1599. uint8_t pad0;
  1600. uint8_t pad1;
  1601. uint8_t latchGroup;
  1602. uint16_t groupLatch;
  1603. } xcb_xkb_latch_lock_state_request_t;
  1604. /**
  1605. * @brief xcb_xkb_get_controls_cookie_t
  1606. **/
  1607. typedef struct xcb_xkb_get_controls_cookie_t {
  1608. unsigned int sequence;
  1609. } xcb_xkb_get_controls_cookie_t;
  1610. /** Opcode for xcb_xkb_get_controls. */
  1611. #define XCB_XKB_GET_CONTROLS 6
  1612. /**
  1613. * @brief xcb_xkb_get_controls_request_t
  1614. **/
  1615. typedef struct xcb_xkb_get_controls_request_t {
  1616. uint8_t major_opcode;
  1617. uint8_t minor_opcode;
  1618. uint16_t length;
  1619. xcb_xkb_device_spec_t deviceSpec;
  1620. uint8_t pad0[2];
  1621. } xcb_xkb_get_controls_request_t;
  1622. /**
  1623. * @brief xcb_xkb_get_controls_reply_t
  1624. **/
  1625. typedef struct xcb_xkb_get_controls_reply_t {
  1626. uint8_t response_type;
  1627. uint8_t deviceID;
  1628. uint16_t sequence;
  1629. uint32_t length;
  1630. uint8_t mouseKeysDfltBtn;
  1631. uint8_t numGroups;
  1632. uint8_t groupsWrap;
  1633. uint8_t internalModsMask;
  1634. uint8_t ignoreLockModsMask;
  1635. uint8_t internalModsRealMods;
  1636. uint8_t ignoreLockModsRealMods;
  1637. uint8_t pad0;
  1638. uint16_t internalModsVmods;
  1639. uint16_t ignoreLockModsVmods;
  1640. uint16_t repeatDelay;
  1641. uint16_t repeatInterval;
  1642. uint16_t slowKeysDelay;
  1643. uint16_t debounceDelay;
  1644. uint16_t mouseKeysDelay;
  1645. uint16_t mouseKeysInterval;
  1646. uint16_t mouseKeysTimeToMax;
  1647. uint16_t mouseKeysMaxSpeed;
  1648. int16_t mouseKeysCurve;
  1649. uint16_t accessXOption;
  1650. uint16_t accessXTimeout;
  1651. uint16_t accessXTimeoutOptionsMask;
  1652. uint16_t accessXTimeoutOptionsValues;
  1653. uint8_t pad1[2];
  1654. uint32_t accessXTimeoutMask;
  1655. uint32_t accessXTimeoutValues;
  1656. uint32_t enabledControls;
  1657. uint8_t perKeyRepeat[32];
  1658. } xcb_xkb_get_controls_reply_t;
  1659. /** Opcode for xcb_xkb_set_controls. */
  1660. #define XCB_XKB_SET_CONTROLS 7
  1661. /**
  1662. * @brief xcb_xkb_set_controls_request_t
  1663. **/
  1664. typedef struct xcb_xkb_set_controls_request_t {
  1665. uint8_t major_opcode;
  1666. uint8_t minor_opcode;
  1667. uint16_t length;
  1668. xcb_xkb_device_spec_t deviceSpec;
  1669. uint8_t affectInternalRealMods;
  1670. uint8_t internalRealMods;
  1671. uint8_t affectIgnoreLockRealMods;
  1672. uint8_t ignoreLockRealMods;
  1673. uint16_t affectInternalVirtualMods;
  1674. uint16_t internalVirtualMods;
  1675. uint16_t affectIgnoreLockVirtualMods;
  1676. uint16_t ignoreLockVirtualMods;
  1677. uint8_t mouseKeysDfltBtn;
  1678. uint8_t groupsWrap;
  1679. uint16_t accessXOptions;
  1680. uint8_t pad0[2];
  1681. uint32_t affectEnabledControls;
  1682. uint32_t enabledControls;
  1683. uint32_t changeControls;
  1684. uint16_t repeatDelay;
  1685. uint16_t repeatInterval;
  1686. uint16_t slowKeysDelay;
  1687. uint16_t debounceDelay;
  1688. uint16_t mouseKeysDelay;
  1689. uint16_t mouseKeysInterval;
  1690. uint16_t mouseKeysTimeToMax;
  1691. uint16_t mouseKeysMaxSpeed;
  1692. int16_t mouseKeysCurve;
  1693. uint16_t accessXTimeout;
  1694. uint32_t accessXTimeoutMask;
  1695. uint32_t accessXTimeoutValues;
  1696. uint16_t accessXTimeoutOptionsMask;
  1697. uint16_t accessXTimeoutOptionsValues;
  1698. uint8_t perKeyRepeat[32];
  1699. } xcb_xkb_set_controls_request_t;
  1700. /**
  1701. * @brief xcb_xkb_get_map_cookie_t
  1702. **/
  1703. typedef struct xcb_xkb_get_map_cookie_t {
  1704. unsigned int sequence;
  1705. } xcb_xkb_get_map_cookie_t;
  1706. /** Opcode for xcb_xkb_get_map. */
  1707. #define XCB_XKB_GET_MAP 8
  1708. /**
  1709. * @brief xcb_xkb_get_map_request_t
  1710. **/
  1711. typedef struct xcb_xkb_get_map_request_t {
  1712. uint8_t major_opcode;
  1713. uint8_t minor_opcode;
  1714. uint16_t length;
  1715. xcb_xkb_device_spec_t deviceSpec;
  1716. uint16_t full;
  1717. uint16_t partial;
  1718. uint8_t firstType;
  1719. uint8_t nTypes;
  1720. xcb_keycode_t firstKeySym;
  1721. uint8_t nKeySyms;
  1722. xcb_keycode_t firstKeyAction;
  1723. uint8_t nKeyActions;
  1724. xcb_keycode_t firstKeyBehavior;
  1725. uint8_t nKeyBehaviors;
  1726. uint16_t virtualMods;
  1727. xcb_keycode_t firstKeyExplicit;
  1728. uint8_t nKeyExplicit;
  1729. xcb_keycode_t firstModMapKey;
  1730. uint8_t nModMapKeys;
  1731. xcb_keycode_t firstVModMapKey;
  1732. uint8_t nVModMapKeys;
  1733. uint8_t pad0[2];
  1734. } xcb_xkb_get_map_request_t;
  1735. /**
  1736. * @brief xcb_xkb_get_map_map_t
  1737. **/
  1738. typedef struct xcb_xkb_get_map_map_t {
  1739. xcb_xkb_key_type_t *types_rtrn;
  1740. xcb_xkb_key_sym_map_t *syms_rtrn;
  1741. uint8_t *acts_rtrn_count;
  1742. uint8_t *pad2;
  1743. xcb_xkb_action_t *acts_rtrn_acts;
  1744. xcb_xkb_set_behavior_t *behaviors_rtrn;
  1745. uint8_t *vmods_rtrn;
  1746. uint8_t *pad3;
  1747. xcb_xkb_set_explicit_t *explicit_rtrn;
  1748. uint8_t *pad4;
  1749. xcb_xkb_key_mod_map_t *modmap_rtrn;
  1750. uint8_t *pad5;
  1751. xcb_xkb_key_v_mod_map_t *vmodmap_rtrn;
  1752. } xcb_xkb_get_map_map_t;
  1753. /**
  1754. * @brief xcb_xkb_get_map_reply_t
  1755. **/
  1756. typedef struct xcb_xkb_get_map_reply_t {
  1757. uint8_t response_type;
  1758. uint8_t deviceID;
  1759. uint16_t sequence;
  1760. uint32_t length;
  1761. uint8_t pad0[2];
  1762. xcb_keycode_t minKeyCode;
  1763. xcb_keycode_t maxKeyCode;
  1764. uint16_t present;
  1765. uint8_t firstType;
  1766. uint8_t nTypes;
  1767. uint8_t totalTypes;
  1768. xcb_keycode_t firstKeySym;
  1769. uint16_t totalSyms;
  1770. uint8_t nKeySyms;
  1771. xcb_keycode_t firstKeyAction;
  1772. uint16_t totalActions;
  1773. uint8_t nKeyActions;
  1774. xcb_keycode_t firstKeyBehavior;
  1775. uint8_t nKeyBehaviors;
  1776. uint8_t totalKeyBehaviors;
  1777. xcb_keycode_t firstKeyExplicit;
  1778. uint8_t nKeyExplicit;
  1779. uint8_t totalKeyExplicit;
  1780. xcb_keycode_t firstModMapKey;
  1781. uint8_t nModMapKeys;
  1782. uint8_t totalModMapKeys;
  1783. xcb_keycode_t firstVModMapKey;
  1784. uint8_t nVModMapKeys;
  1785. uint8_t totalVModMapKeys;
  1786. uint8_t pad1;
  1787. uint16_t virtualMods;
  1788. } xcb_xkb_get_map_reply_t;
  1789. /**
  1790. * @brief xcb_xkb_set_map_values_t
  1791. **/
  1792. typedef struct xcb_xkb_set_map_values_t {
  1793. xcb_xkb_set_key_type_t *types;
  1794. xcb_xkb_key_sym_map_t *syms;
  1795. uint8_t *actionsCount;
  1796. xcb_xkb_action_t *actions;
  1797. xcb_xkb_set_behavior_t *behaviors;
  1798. uint8_t *vmods;
  1799. xcb_xkb_set_explicit_t *explicit;
  1800. xcb_xkb_key_mod_map_t *modmap;
  1801. xcb_xkb_key_v_mod_map_t *vmodmap;
  1802. } xcb_xkb_set_map_values_t;
  1803. /** Opcode for xcb_xkb_set_map. */
  1804. #define XCB_XKB_SET_MAP 9
  1805. /**
  1806. * @brief xcb_xkb_set_map_request_t
  1807. **/
  1808. typedef struct xcb_xkb_set_map_request_t {
  1809. uint8_t major_opcode;
  1810. uint8_t minor_opcode;
  1811. uint16_t length;
  1812. xcb_xkb_device_spec_t deviceSpec;
  1813. uint16_t present;
  1814. uint16_t flags;
  1815. xcb_keycode_t minKeyCode;
  1816. xcb_keycode_t maxKeyCode;
  1817. uint8_t firstType;
  1818. uint8_t nTypes;
  1819. xcb_keycode_t firstKeySym;
  1820. uint8_t nKeySyms;
  1821. uint16_t totalSyms;
  1822. xcb_keycode_t firstKeyAction;
  1823. uint8_t nKeyActions;
  1824. uint16_t totalActions;
  1825. xcb_keycode_t firstKeyBehavior;
  1826. uint8_t nKeyBehaviors;
  1827. uint8_t totalKeyBehaviors;
  1828. xcb_keycode_t firstKeyExplicit;
  1829. uint8_t nKeyExplicit;
  1830. uint8_t totalKeyExplicit;
  1831. xcb_keycode_t firstModMapKey;
  1832. uint8_t nModMapKeys;
  1833. uint8_t totalModMapKeys;
  1834. xcb_keycode_t firstVModMapKey;
  1835. uint8_t nVModMapKeys;
  1836. uint8_t totalVModMapKeys;
  1837. uint16_t virtualMods;
  1838. } xcb_xkb_set_map_request_t;
  1839. /**
  1840. * @brief xcb_xkb_get_compat_map_cookie_t
  1841. **/
  1842. typedef struct xcb_xkb_get_compat_map_cookie_t {
  1843. unsigned int sequence;
  1844. } xcb_xkb_get_compat_map_cookie_t;
  1845. /** Opcode for xcb_xkb_get_compat_map. */
  1846. #define XCB_XKB_GET_COMPAT_MAP 10
  1847. /**
  1848. * @brief xcb_xkb_get_compat_map_request_t
  1849. **/
  1850. typedef struct xcb_xkb_get_compat_map_request_t {
  1851. uint8_t major_opcode;
  1852. uint8_t minor_opcode;
  1853. uint16_t length;
  1854. xcb_xkb_device_spec_t deviceSpec;
  1855. uint8_t groups;
  1856. uint8_t getAllSI;
  1857. uint16_t firstSI;
  1858. uint16_t nSI;
  1859. } xcb_xkb_get_compat_map_request_t;
  1860. /**
  1861. * @brief xcb_xkb_get_compat_map_reply_t
  1862. **/
  1863. typedef struct xcb_xkb_get_compat_map_reply_t {
  1864. uint8_t response_type;
  1865. uint8_t deviceID;
  1866. uint16_t sequence;
  1867. uint32_t length;
  1868. uint8_t groupsRtrn;
  1869. uint8_t pad0;
  1870. uint16_t firstSIRtrn;
  1871. uint16_t nSIRtrn;
  1872. uint16_t nTotalSI;
  1873. uint8_t pad1[16];
  1874. } xcb_xkb_get_compat_map_reply_t;
  1875. /** Opcode for xcb_xkb_set_compat_map. */
  1876. #define XCB_XKB_SET_COMPAT_MAP 11
  1877. /**
  1878. * @brief xcb_xkb_set_compat_map_request_t
  1879. **/
  1880. typedef struct xcb_xkb_set_compat_map_request_t {
  1881. uint8_t major_opcode;
  1882. uint8_t minor_opcode;
  1883. uint16_t length;
  1884. xcb_xkb_device_spec_t deviceSpec;
  1885. uint8_t pad0;
  1886. uint8_t recomputeActions;
  1887. uint8_t truncateSI;
  1888. uint8_t groups;
  1889. uint16_t firstSI;
  1890. uint16_t nSI;
  1891. uint8_t pad1[2];
  1892. } xcb_xkb_set_compat_map_request_t;
  1893. /**
  1894. * @brief xcb_xkb_get_indicator_state_cookie_t
  1895. **/
  1896. typedef struct xcb_xkb_get_indicator_state_cookie_t {
  1897. unsigned int sequence;
  1898. } xcb_xkb_get_indicator_state_cookie_t;
  1899. /** Opcode for xcb_xkb_get_indicator_state. */
  1900. #define XCB_XKB_GET_INDICATOR_STATE 12
  1901. /**
  1902. * @brief xcb_xkb_get_indicator_state_request_t
  1903. **/
  1904. typedef struct xcb_xkb_get_indicator_state_request_t {
  1905. uint8_t major_opcode;
  1906. uint8_t minor_opcode;
  1907. uint16_t length;
  1908. xcb_xkb_device_spec_t deviceSpec;
  1909. uint8_t pad0[2];
  1910. } xcb_xkb_get_indicator_state_request_t;
  1911. /**
  1912. * @brief xcb_xkb_get_indicator_state_reply_t
  1913. **/
  1914. typedef struct xcb_xkb_get_indicator_state_reply_t {
  1915. uint8_t response_type;
  1916. uint8_t deviceID;
  1917. uint16_t sequence;
  1918. uint32_t length;
  1919. uint32_t state;
  1920. uint8_t pad0[20];
  1921. } xcb_xkb_get_indicator_state_reply_t;
  1922. /**
  1923. * @brief xcb_xkb_get_indicator_map_cookie_t
  1924. **/
  1925. typedef struct xcb_xkb_get_indicator_map_cookie_t {
  1926. unsigned int sequence;
  1927. } xcb_xkb_get_indicator_map_cookie_t;
  1928. /** Opcode for xcb_xkb_get_indicator_map. */
  1929. #define XCB_XKB_GET_INDICATOR_MAP 13
  1930. /**
  1931. * @brief xcb_xkb_get_indicator_map_request_t
  1932. **/
  1933. typedef struct xcb_xkb_get_indicator_map_request_t {
  1934. uint8_t major_opcode;
  1935. uint8_t minor_opcode;
  1936. uint16_t length;
  1937. xcb_xkb_device_spec_t deviceSpec;
  1938. uint8_t pad0[2];
  1939. uint32_t which;
  1940. } xcb_xkb_get_indicator_map_request_t;
  1941. /**
  1942. * @brief xcb_xkb_get_indicator_map_reply_t
  1943. **/
  1944. typedef struct xcb_xkb_get_indicator_map_reply_t {
  1945. uint8_t response_type;
  1946. uint8_t deviceID;
  1947. uint16_t sequence;
  1948. uint32_t length;
  1949. uint32_t which;
  1950. uint32_t realIndicators;
  1951. uint8_t nIndicators;
  1952. uint8_t pad0[15];
  1953. } xcb_xkb_get_indicator_map_reply_t;
  1954. /** Opcode for xcb_xkb_set_indicator_map. */
  1955. #define XCB_XKB_SET_INDICATOR_MAP 14
  1956. /**
  1957. * @brief xcb_xkb_set_indicator_map_request_t
  1958. **/
  1959. typedef struct xcb_xkb_set_indicator_map_request_t {
  1960. uint8_t major_opcode;
  1961. uint8_t minor_opcode;
  1962. uint16_t length;
  1963. xcb_xkb_device_spec_t deviceSpec;
  1964. uint8_t pad0[2];
  1965. uint32_t which;
  1966. } xcb_xkb_set_indicator_map_request_t;
  1967. /**
  1968. * @brief xcb_xkb_get_named_indicator_cookie_t
  1969. **/
  1970. typedef struct xcb_xkb_get_named_indicator_cookie_t {
  1971. unsigned int sequence;
  1972. } xcb_xkb_get_named_indicator_cookie_t;
  1973. /** Opcode for xcb_xkb_get_named_indicator. */
  1974. #define XCB_XKB_GET_NAMED_INDICATOR 15
  1975. /**
  1976. * @brief xcb_xkb_get_named_indicator_request_t
  1977. **/
  1978. typedef struct xcb_xkb_get_named_indicator_request_t {
  1979. uint8_t major_opcode;
  1980. uint8_t minor_opcode;
  1981. uint16_t length;
  1982. xcb_xkb_device_spec_t deviceSpec;
  1983. xcb_xkb_led_class_spec_t ledClass;
  1984. xcb_xkb_id_spec_t ledID;
  1985. uint8_t pad0[2];
  1986. xcb_atom_t indicator;
  1987. } xcb_xkb_get_named_indicator_request_t;
  1988. /**
  1989. * @brief xcb_xkb_get_named_indicator_reply_t
  1990. **/
  1991. typedef struct xcb_xkb_get_named_indicator_reply_t {
  1992. uint8_t response_type;
  1993. uint8_t deviceID;
  1994. uint16_t sequence;
  1995. uint32_t length;
  1996. xcb_atom_t indicator;
  1997. uint8_t found;
  1998. uint8_t on;
  1999. uint8_t realIndicator;
  2000. uint8_t ndx;
  2001. uint8_t map_flags;
  2002. uint8_t map_whichGroups;
  2003. uint8_t map_groups;
  2004. uint8_t map_whichMods;
  2005. uint8_t map_mods;
  2006. uint8_t map_realMods;
  2007. uint16_t map_vmod;
  2008. uint32_t map_ctrls;
  2009. uint8_t supported;
  2010. uint8_t pad0[3];
  2011. } xcb_xkb_get_named_indicator_reply_t;
  2012. /** Opcode for xcb_xkb_set_named_indicator. */
  2013. #define XCB_XKB_SET_NAMED_INDICATOR 16
  2014. /**
  2015. * @brief xcb_xkb_set_named_indicator_request_t
  2016. **/
  2017. typedef struct xcb_xkb_set_named_indicator_request_t {
  2018. uint8_t major_opcode;
  2019. uint8_t minor_opcode;
  2020. uint16_t length;
  2021. xcb_xkb_device_spec_t deviceSpec;
  2022. xcb_xkb_led_class_spec_t ledClass;
  2023. xcb_xkb_id_spec_t ledID;
  2024. uint8_t pad0[2];
  2025. xcb_atom_t indicator;
  2026. uint8_t setState;
  2027. uint8_t on;
  2028. uint8_t setMap;
  2029. uint8_t createMap;
  2030. uint8_t pad1;
  2031. uint8_t map_flags;
  2032. uint8_t map_whichGroups;
  2033. uint8_t map_groups;
  2034. uint8_t map_whichMods;
  2035. uint8_t map_realMods;
  2036. uint16_t map_vmods;
  2037. uint32_t map_ctrls;
  2038. } xcb_xkb_set_named_indicator_request_t;
  2039. /**
  2040. * @brief xcb_xkb_get_names_cookie_t
  2041. **/
  2042. typedef struct xcb_xkb_get_names_cookie_t {
  2043. unsigned int sequence;
  2044. } xcb_xkb_get_names_cookie_t;
  2045. /** Opcode for xcb_xkb_get_names. */
  2046. #define XCB_XKB_GET_NAMES 17
  2047. /**
  2048. * @brief xcb_xkb_get_names_request_t
  2049. **/
  2050. typedef struct xcb_xkb_get_names_request_t {
  2051. uint8_t major_opcode;
  2052. uint8_t minor_opcode;
  2053. uint16_t length;
  2054. xcb_xkb_device_spec_t deviceSpec;
  2055. uint8_t pad0[2];
  2056. uint32_t which;
  2057. } xcb_xkb_get_names_request_t;
  2058. /**
  2059. * @brief xcb_xkb_get_names_value_list_t
  2060. **/
  2061. typedef struct xcb_xkb_get_names_value_list_t {
  2062. xcb_atom_t keycodesName;
  2063. xcb_atom_t geometryName;
  2064. xcb_atom_t symbolsName;
  2065. xcb_atom_t physSymbolsName;
  2066. xcb_atom_t typesName;
  2067. xcb_atom_t compatName;
  2068. xcb_atom_t *typeNames;
  2069. uint8_t *nLevelsPerType;
  2070. uint8_t *pad1;
  2071. xcb_atom_t *ktLevelNames;
  2072. xcb_atom_t *indicatorNames;
  2073. xcb_atom_t *virtualModNames;
  2074. xcb_atom_t *groups;
  2075. xcb_xkb_key_name_t *keyNames;
  2076. xcb_xkb_key_alias_t *keyAliases;
  2077. xcb_atom_t *radioGroupNames;
  2078. } xcb_xkb_get_names_value_list_t;
  2079. /**
  2080. * @brief xcb_xkb_get_names_reply_t
  2081. **/
  2082. typedef struct xcb_xkb_get_names_reply_t {
  2083. uint8_t response_type;
  2084. uint8_t deviceID;
  2085. uint16_t sequence;
  2086. uint32_t length;
  2087. uint32_t which;
  2088. xcb_keycode_t minKeyCode;
  2089. xcb_keycode_t maxKeyCode;
  2090. uint8_t nTypes;
  2091. uint8_t groupNames;
  2092. uint16_t virtualMods;
  2093. xcb_keycode_t firstKey;
  2094. uint8_t nKeys;
  2095. uint32_t indicators;
  2096. uint8_t nRadioGroups;
  2097. uint8_t nKeyAliases;
  2098. uint16_t nKTLevels;
  2099. uint8_t pad0[4];
  2100. } xcb_xkb_get_names_reply_t;
  2101. /**
  2102. * @brief xcb_xkb_set_names_values_t
  2103. **/
  2104. typedef struct xcb_xkb_set_names_values_t {
  2105. xcb_atom_t keycodesName;
  2106. xcb_atom_t geometryName;
  2107. xcb_atom_t symbolsName;
  2108. xcb_atom_t physSymbolsName;
  2109. xcb_atom_t typesName;
  2110. xcb_atom_t compatName;
  2111. xcb_atom_t *typeNames;
  2112. uint8_t *nLevelsPerType;
  2113. xcb_atom_t *ktLevelNames;
  2114. xcb_atom_t *indicatorNames;
  2115. xcb_atom_t *virtualModNames;
  2116. xcb_atom_t *groups;
  2117. xcb_xkb_key_name_t *keyNames;
  2118. xcb_xkb_key_alias_t *keyAliases;
  2119. xcb_atom_t *radioGroupNames;
  2120. } xcb_xkb_set_names_values_t;
  2121. /** Opcode for xcb_xkb_set_names. */
  2122. #define XCB_XKB_SET_NAMES 18
  2123. /**
  2124. * @brief xcb_xkb_set_names_request_t
  2125. **/
  2126. typedef struct xcb_xkb_set_names_request_t {
  2127. uint8_t major_opcode;
  2128. uint8_t minor_opcode;
  2129. uint16_t length;
  2130. xcb_xkb_device_spec_t deviceSpec;
  2131. uint16_t virtualMods;
  2132. uint32_t which;
  2133. uint8_t firstType;
  2134. uint8_t nTypes;
  2135. uint8_t firstKTLevelt;
  2136. uint8_t nKTLevels;
  2137. uint32_t indicators;
  2138. uint8_t groupNames;
  2139. uint8_t nRadioGroups;
  2140. xcb_keycode_t firstKey;
  2141. uint8_t nKeys;
  2142. uint8_t nKeyAliases;
  2143. uint8_t pad0;
  2144. uint16_t totalKTLevelNames;
  2145. } xcb_xkb_set_names_request_t;
  2146. /**
  2147. * @brief xcb_xkb_per_client_flags_cookie_t
  2148. **/
  2149. typedef struct xcb_xkb_per_client_flags_cookie_t {
  2150. unsigned int sequence;
  2151. } xcb_xkb_per_client_flags_cookie_t;
  2152. /** Opcode for xcb_xkb_per_client_flags. */
  2153. #define XCB_XKB_PER_CLIENT_FLAGS 21
  2154. /**
  2155. * @brief xcb_xkb_per_client_flags_request_t
  2156. **/
  2157. typedef struct xcb_xkb_per_client_flags_request_t {
  2158. uint8_t major_opcode;
  2159. uint8_t minor_opcode;
  2160. uint16_t length;
  2161. xcb_xkb_device_spec_t deviceSpec;
  2162. uint8_t pad0[2];
  2163. uint32_t change;
  2164. uint32_t value;
  2165. uint32_t ctrlsToChange;
  2166. uint32_t autoCtrls;
  2167. uint32_t autoCtrlsValues;
  2168. } xcb_xkb_per_client_flags_request_t;
  2169. /**
  2170. * @brief xcb_xkb_per_client_flags_reply_t
  2171. **/
  2172. typedef struct xcb_xkb_per_client_flags_reply_t {
  2173. uint8_t response_type;
  2174. uint8_t deviceID;
  2175. uint16_t sequence;
  2176. uint32_t length;
  2177. uint32_t supported;
  2178. uint32_t value;
  2179. uint32_t autoCtrls;
  2180. uint32_t autoCtrlsValues;
  2181. uint8_t pad0[8];
  2182. } xcb_xkb_per_client_flags_reply_t;
  2183. /**
  2184. * @brief xcb_xkb_list_components_cookie_t
  2185. **/
  2186. typedef struct xcb_xkb_list_components_cookie_t {
  2187. unsigned int sequence;
  2188. } xcb_xkb_list_components_cookie_t;
  2189. /** Opcode for xcb_xkb_list_components. */
  2190. #define XCB_XKB_LIST_COMPONENTS 22
  2191. /**
  2192. * @brief xcb_xkb_list_components_request_t
  2193. **/
  2194. typedef struct xcb_xkb_list_components_request_t {
  2195. uint8_t major_opcode;
  2196. uint8_t minor_opcode;
  2197. uint16_t length;
  2198. xcb_xkb_device_spec_t deviceSpec;
  2199. uint16_t maxNames;
  2200. } xcb_xkb_list_components_request_t;
  2201. /**
  2202. * @brief xcb_xkb_list_components_reply_t
  2203. **/
  2204. typedef struct xcb_xkb_list_components_reply_t {
  2205. uint8_t response_type;
  2206. uint8_t deviceID;
  2207. uint16_t sequence;
  2208. uint32_t length;
  2209. uint16_t nKeymaps;
  2210. uint16_t nKeycodes;
  2211. uint16_t nTypes;
  2212. uint16_t nCompatMaps;
  2213. uint16_t nSymbols;
  2214. uint16_t nGeometries;
  2215. uint16_t extra;
  2216. uint8_t pad0[10];
  2217. } xcb_xkb_list_components_reply_t;
  2218. /**
  2219. * @brief xcb_xkb_get_kbd_by_name_cookie_t
  2220. **/
  2221. typedef struct xcb_xkb_get_kbd_by_name_cookie_t {
  2222. unsigned int sequence;
  2223. } xcb_xkb_get_kbd_by_name_cookie_t;
  2224. /** Opcode for xcb_xkb_get_kbd_by_name. */
  2225. #define XCB_XKB_GET_KBD_BY_NAME 23
  2226. /**
  2227. * @brief xcb_xkb_get_kbd_by_name_request_t
  2228. **/
  2229. typedef struct xcb_xkb_get_kbd_by_name_request_t {
  2230. uint8_t major_opcode;
  2231. uint8_t minor_opcode;
  2232. uint16_t length;
  2233. xcb_xkb_device_spec_t deviceSpec;
  2234. uint16_t need;
  2235. uint16_t want;
  2236. uint8_t load;
  2237. uint8_t pad0;
  2238. } xcb_xkb_get_kbd_by_name_request_t;
  2239. /**
  2240. * @brief xcb_xkb_get_kbd_by_name_replies_types_map_t
  2241. **/
  2242. typedef struct xcb_xkb_get_kbd_by_name_replies_types_map_t {
  2243. xcb_xkb_key_type_t *types_rtrn;
  2244. xcb_xkb_key_sym_map_t *syms_rtrn;
  2245. uint8_t *acts_rtrn_count;
  2246. xcb_xkb_action_t *acts_rtrn_acts;
  2247. xcb_xkb_set_behavior_t *behaviors_rtrn;
  2248. uint8_t *vmods_rtrn;
  2249. xcb_xkb_set_explicit_t *explicit_rtrn;
  2250. xcb_xkb_key_mod_map_t *modmap_rtrn;
  2251. xcb_xkb_key_v_mod_map_t *vmodmap_rtrn;
  2252. } xcb_xkb_get_kbd_by_name_replies_types_map_t;
  2253. /**
  2254. * @brief xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t
  2255. **/
  2256. typedef struct xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t {
  2257. xcb_atom_t keycodesName;
  2258. xcb_atom_t geometryName;
  2259. xcb_atom_t symbolsName;
  2260. xcb_atom_t physSymbolsName;
  2261. xcb_atom_t typesName;
  2262. xcb_atom_t compatName;
  2263. xcb_atom_t *typeNames;
  2264. uint8_t *nLevelsPerType;
  2265. xcb_atom_t *ktLevelNames;
  2266. xcb_atom_t *indicatorNames;
  2267. xcb_atom_t *virtualModNames;
  2268. xcb_atom_t *groups;
  2269. xcb_xkb_key_name_t *keyNames;
  2270. xcb_xkb_key_alias_t *keyAliases;
  2271. xcb_atom_t *radioGroupNames;
  2272. } xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t;
  2273. /**
  2274. * @brief xcb_xkb_get_kbd_by_name_replies_t
  2275. **/
  2276. typedef struct xcb_xkb_get_kbd_by_name_replies_t {
  2277. struct {
  2278. uint8_t getmap_type;
  2279. uint8_t typeDeviceID;
  2280. uint16_t getmap_sequence;
  2281. uint32_t getmap_length;
  2282. uint8_t pad1[2];
  2283. xcb_keycode_t typeMinKeyCode;
  2284. xcb_keycode_t typeMaxKeyCode;
  2285. uint16_t present;
  2286. uint8_t firstType;
  2287. uint8_t nTypes;
  2288. uint8_t totalTypes;
  2289. xcb_keycode_t firstKeySym;
  2290. uint16_t totalSyms;
  2291. uint8_t nKeySyms;
  2292. xcb_keycode_t firstKeyAction;
  2293. uint16_t totalActions;
  2294. uint8_t nKeyActions;
  2295. xcb_keycode_t firstKeyBehavior;
  2296. uint8_t nKeyBehaviors;
  2297. uint8_t totalKeyBehaviors;
  2298. xcb_keycode_t firstKeyExplicit;
  2299. uint8_t nKeyExplicit;
  2300. uint8_t totalKeyExplicit;
  2301. xcb_keycode_t firstModMapKey;
  2302. uint8_t nModMapKeys;
  2303. uint8_t totalModMapKeys;
  2304. xcb_keycode_t firstVModMapKey;
  2305. uint8_t nVModMapKeys;
  2306. uint8_t totalVModMapKeys;
  2307. uint8_t pad2;
  2308. uint16_t virtualMods;
  2309. xcb_xkb_get_kbd_by_name_replies_types_map_t map;
  2310. } types;
  2311. struct {
  2312. uint8_t compatmap_type;
  2313. uint8_t compatDeviceID;
  2314. uint16_t compatmap_sequence;
  2315. uint32_t compatmap_length;
  2316. uint8_t groupsRtrn;
  2317. uint8_t pad7;
  2318. uint16_t firstSIRtrn;
  2319. uint16_t nSIRtrn;
  2320. uint16_t nTotalSI;
  2321. uint8_t pad8[16];
  2322. xcb_xkb_sym_interpret_t *si_rtrn;
  2323. xcb_xkb_mod_def_t *group_rtrn;
  2324. } compat_map;
  2325. struct {
  2326. uint8_t indicatormap_type;
  2327. uint8_t indicatorDeviceID;
  2328. uint16_t indicatormap_sequence;
  2329. uint32_t indicatormap_length;
  2330. uint32_t which;
  2331. uint32_t realIndicators;
  2332. uint8_t nIndicators;
  2333. uint8_t pad9[15];
  2334. xcb_xkb_indicator_map_t *maps;
  2335. } indicator_maps;
  2336. struct {
  2337. uint8_t keyname_type;
  2338. uint8_t keyDeviceID;
  2339. uint16_t keyname_sequence;
  2340. uint32_t keyname_length;
  2341. uint32_t which;
  2342. xcb_keycode_t keyMinKeyCode;
  2343. xcb_keycode_t keyMaxKeyCode;
  2344. uint8_t nTypes;
  2345. uint8_t groupNames;
  2346. uint16_t virtualMods;
  2347. xcb_keycode_t firstKey;
  2348. uint8_t nKeys;
  2349. uint32_t indicators;
  2350. uint8_t nRadioGroups;
  2351. uint8_t nKeyAliases;
  2352. uint16_t nKTLevels;
  2353. uint8_t pad10[4];
  2354. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t valueList;
  2355. } key_names;
  2356. struct {
  2357. uint8_t geometry_type;
  2358. uint8_t geometryDeviceID;
  2359. uint16_t geometry_sequence;
  2360. uint32_t geometry_length;
  2361. xcb_atom_t name;
  2362. uint8_t geometryFound;
  2363. uint8_t pad12;
  2364. uint16_t widthMM;
  2365. uint16_t heightMM;
  2366. uint16_t nProperties;
  2367. uint16_t nColors;
  2368. uint16_t nShapes;
  2369. uint16_t nSections;
  2370. uint16_t nDoodads;
  2371. uint16_t nKeyAliases;
  2372. uint8_t baseColorNdx;
  2373. uint8_t labelColorNdx;
  2374. xcb_xkb_counted_string_16_t *labelFont;
  2375. } geometry;
  2376. } xcb_xkb_get_kbd_by_name_replies_t;
  2377. xcb_xkb_get_kbd_by_name_replies_types_map_t *
  2378. xcb_xkb_get_kbd_by_name_replies_types_map (const xcb_xkb_get_kbd_by_name_replies_t *R);
  2379. /**
  2380. * @brief xcb_xkb_get_kbd_by_name_reply_t
  2381. **/
  2382. typedef struct xcb_xkb_get_kbd_by_name_reply_t {
  2383. uint8_t response_type;
  2384. uint8_t deviceID;
  2385. uint16_t sequence;
  2386. uint32_t length;
  2387. xcb_keycode_t minKeyCode;
  2388. xcb_keycode_t maxKeyCode;
  2389. uint8_t loaded;
  2390. uint8_t newKeyboard;
  2391. uint16_t found;
  2392. uint16_t reported;
  2393. uint8_t pad0[16];
  2394. } xcb_xkb_get_kbd_by_name_reply_t;
  2395. /**
  2396. * @brief xcb_xkb_get_device_info_cookie_t
  2397. **/
  2398. typedef struct xcb_xkb_get_device_info_cookie_t {
  2399. unsigned int sequence;
  2400. } xcb_xkb_get_device_info_cookie_t;
  2401. /** Opcode for xcb_xkb_get_device_info. */
  2402. #define XCB_XKB_GET_DEVICE_INFO 24
  2403. /**
  2404. * @brief xcb_xkb_get_device_info_request_t
  2405. **/
  2406. typedef struct xcb_xkb_get_device_info_request_t {
  2407. uint8_t major_opcode;
  2408. uint8_t minor_opcode;
  2409. uint16_t length;
  2410. xcb_xkb_device_spec_t deviceSpec;
  2411. uint16_t wanted;
  2412. uint8_t allButtons;
  2413. uint8_t firstButton;
  2414. uint8_t nButtons;
  2415. uint8_t pad0;
  2416. xcb_xkb_led_class_spec_t ledClass;
  2417. xcb_xkb_id_spec_t ledID;
  2418. } xcb_xkb_get_device_info_request_t;
  2419. /**
  2420. * @brief xcb_xkb_get_device_info_reply_t
  2421. **/
  2422. typedef struct xcb_xkb_get_device_info_reply_t {
  2423. uint8_t response_type;
  2424. uint8_t deviceID;
  2425. uint16_t sequence;
  2426. uint32_t length;
  2427. uint16_t present;
  2428. uint16_t supported;
  2429. uint16_t unsupported;
  2430. uint16_t nDeviceLedFBs;
  2431. uint8_t firstBtnWanted;
  2432. uint8_t nBtnsWanted;
  2433. uint8_t firstBtnRtrn;
  2434. uint8_t nBtnsRtrn;
  2435. uint8_t totalBtns;
  2436. uint8_t hasOwnState;
  2437. uint16_t dfltKbdFB;
  2438. uint16_t dfltLedFB;
  2439. uint8_t pad0[2];
  2440. xcb_atom_t devType;
  2441. uint16_t nameLen;
  2442. } xcb_xkb_get_device_info_reply_t;
  2443. /** Opcode for xcb_xkb_set_device_info. */
  2444. #define XCB_XKB_SET_DEVICE_INFO 25
  2445. /**
  2446. * @brief xcb_xkb_set_device_info_request_t
  2447. **/
  2448. typedef struct xcb_xkb_set_device_info_request_t {
  2449. uint8_t major_opcode;
  2450. uint8_t minor_opcode;
  2451. uint16_t length;
  2452. xcb_xkb_device_spec_t deviceSpec;
  2453. uint8_t firstBtn;
  2454. uint8_t nBtns;
  2455. uint16_t change;
  2456. uint16_t nDeviceLedFBs;
  2457. } xcb_xkb_set_device_info_request_t;
  2458. /**
  2459. * @brief xcb_xkb_set_debugging_flags_cookie_t
  2460. **/
  2461. typedef struct xcb_xkb_set_debugging_flags_cookie_t {
  2462. unsigned int sequence;
  2463. } xcb_xkb_set_debugging_flags_cookie_t;
  2464. /** Opcode for xcb_xkb_set_debugging_flags. */
  2465. #define XCB_XKB_SET_DEBUGGING_FLAGS 101
  2466. /**
  2467. * @brief xcb_xkb_set_debugging_flags_request_t
  2468. **/
  2469. typedef struct xcb_xkb_set_debugging_flags_request_t {
  2470. uint8_t major_opcode;
  2471. uint8_t minor_opcode;
  2472. uint16_t length;
  2473. uint16_t msgLength;
  2474. uint8_t pad0[2];
  2475. uint32_t affectFlags;
  2476. uint32_t flags;
  2477. uint32_t affectCtrls;
  2478. uint32_t ctrls;
  2479. } xcb_xkb_set_debugging_flags_request_t;
  2480. /**
  2481. * @brief xcb_xkb_set_debugging_flags_reply_t
  2482. **/
  2483. typedef struct xcb_xkb_set_debugging_flags_reply_t {
  2484. uint8_t response_type;
  2485. uint8_t pad0;
  2486. uint16_t sequence;
  2487. uint32_t length;
  2488. uint32_t currentFlags;
  2489. uint32_t currentCtrls;
  2490. uint32_t supportedFlags;
  2491. uint32_t supportedCtrls;
  2492. uint8_t pad1[8];
  2493. } xcb_xkb_set_debugging_flags_reply_t;
  2494. /** Opcode for xcb_xkb_new_keyboard_notify. */
  2495. #define XCB_XKB_NEW_KEYBOARD_NOTIFY 0
  2496. /**
  2497. * @brief xcb_xkb_new_keyboard_notify_event_t
  2498. **/
  2499. typedef struct xcb_xkb_new_keyboard_notify_event_t {
  2500. uint8_t response_type;
  2501. uint8_t xkbType;
  2502. uint16_t sequence;
  2503. xcb_timestamp_t time;
  2504. uint8_t deviceID;
  2505. uint8_t oldDeviceID;
  2506. xcb_keycode_t minKeyCode;
  2507. xcb_keycode_t maxKeyCode;
  2508. xcb_keycode_t oldMinKeyCode;
  2509. xcb_keycode_t oldMaxKeyCode;
  2510. uint8_t requestMajor;
  2511. uint8_t requestMinor;
  2512. uint16_t changed;
  2513. uint8_t pad0[14];
  2514. } xcb_xkb_new_keyboard_notify_event_t;
  2515. /** Opcode for xcb_xkb_map_notify. */
  2516. #define XCB_XKB_MAP_NOTIFY 1
  2517. /**
  2518. * @brief xcb_xkb_map_notify_event_t
  2519. **/
  2520. typedef struct xcb_xkb_map_notify_event_t {
  2521. uint8_t response_type;
  2522. uint8_t xkbType;
  2523. uint16_t sequence;
  2524. xcb_timestamp_t time;
  2525. uint8_t deviceID;
  2526. uint8_t ptrBtnActions;
  2527. uint16_t changed;
  2528. xcb_keycode_t minKeyCode;
  2529. xcb_keycode_t maxKeyCode;
  2530. uint8_t firstType;
  2531. uint8_t nTypes;
  2532. xcb_keycode_t firstKeySym;
  2533. uint8_t nKeySyms;
  2534. xcb_keycode_t firstKeyAct;
  2535. uint8_t nKeyActs;
  2536. xcb_keycode_t firstKeyBehavior;
  2537. uint8_t nKeyBehavior;
  2538. xcb_keycode_t firstKeyExplicit;
  2539. uint8_t nKeyExplicit;
  2540. xcb_keycode_t firstModMapKey;
  2541. uint8_t nModMapKeys;
  2542. xcb_keycode_t firstVModMapKey;
  2543. uint8_t nVModMapKeys;
  2544. uint16_t virtualMods;
  2545. uint8_t pad0[2];
  2546. } xcb_xkb_map_notify_event_t;
  2547. /** Opcode for xcb_xkb_state_notify. */
  2548. #define XCB_XKB_STATE_NOTIFY 2
  2549. /**
  2550. * @brief xcb_xkb_state_notify_event_t
  2551. **/
  2552. typedef struct xcb_xkb_state_notify_event_t {
  2553. uint8_t response_type;
  2554. uint8_t xkbType;
  2555. uint16_t sequence;
  2556. xcb_timestamp_t time;
  2557. uint8_t deviceID;
  2558. uint8_t mods;
  2559. uint8_t baseMods;
  2560. uint8_t latchedMods;
  2561. uint8_t lockedMods;
  2562. uint8_t group;
  2563. int16_t baseGroup;
  2564. int16_t latchedGroup;
  2565. uint8_t lockedGroup;
  2566. uint8_t compatState;
  2567. uint8_t grabMods;
  2568. uint8_t compatGrabMods;
  2569. uint8_t lookupMods;
  2570. uint8_t compatLoockupMods;
  2571. uint16_t ptrBtnState;
  2572. uint16_t changed;
  2573. xcb_keycode_t keycode;
  2574. uint8_t eventType;
  2575. uint8_t requestMajor;
  2576. uint8_t requestMinor;
  2577. } xcb_xkb_state_notify_event_t;
  2578. /** Opcode for xcb_xkb_controls_notify. */
  2579. #define XCB_XKB_CONTROLS_NOTIFY 3
  2580. /**
  2581. * @brief xcb_xkb_controls_notify_event_t
  2582. **/
  2583. typedef struct xcb_xkb_controls_notify_event_t {
  2584. uint8_t response_type;
  2585. uint8_t xkbType;
  2586. uint16_t sequence;
  2587. xcb_timestamp_t time;
  2588. uint8_t deviceID;
  2589. uint8_t numGroups;
  2590. uint8_t pad0[2];
  2591. uint32_t changedControls;
  2592. uint32_t enabledControls;
  2593. uint32_t enabledControlChanges;
  2594. xcb_keycode_t keycode;
  2595. uint8_t eventType;
  2596. uint8_t requestMajor;
  2597. uint8_t requestMinor;
  2598. uint8_t pad1[4];
  2599. } xcb_xkb_controls_notify_event_t;
  2600. /** Opcode for xcb_xkb_indicator_state_notify. */
  2601. #define XCB_XKB_INDICATOR_STATE_NOTIFY 4
  2602. /**
  2603. * @brief xcb_xkb_indicator_state_notify_event_t
  2604. **/
  2605. typedef struct xcb_xkb_indicator_state_notify_event_t {
  2606. uint8_t response_type;
  2607. uint8_t xkbType;
  2608. uint16_t sequence;
  2609. xcb_timestamp_t time;
  2610. uint8_t deviceID;
  2611. uint8_t pad0[3];
  2612. uint32_t state;
  2613. uint32_t stateChanged;
  2614. uint8_t pad1[12];
  2615. } xcb_xkb_indicator_state_notify_event_t;
  2616. /** Opcode for xcb_xkb_indicator_map_notify. */
  2617. #define XCB_XKB_INDICATOR_MAP_NOTIFY 5
  2618. /**
  2619. * @brief xcb_xkb_indicator_map_notify_event_t
  2620. **/
  2621. typedef struct xcb_xkb_indicator_map_notify_event_t {
  2622. uint8_t response_type;
  2623. uint8_t xkbType;
  2624. uint16_t sequence;
  2625. xcb_timestamp_t time;
  2626. uint8_t deviceID;
  2627. uint8_t pad0[3];
  2628. uint32_t state;
  2629. uint32_t mapChanged;
  2630. uint8_t pad1[12];
  2631. } xcb_xkb_indicator_map_notify_event_t;
  2632. /** Opcode for xcb_xkb_names_notify. */
  2633. #define XCB_XKB_NAMES_NOTIFY 6
  2634. /**
  2635. * @brief xcb_xkb_names_notify_event_t
  2636. **/
  2637. typedef struct xcb_xkb_names_notify_event_t {
  2638. uint8_t response_type;
  2639. uint8_t xkbType;
  2640. uint16_t sequence;
  2641. xcb_timestamp_t time;
  2642. uint8_t deviceID;
  2643. uint8_t pad0;
  2644. uint16_t changed;
  2645. uint8_t firstType;
  2646. uint8_t nTypes;
  2647. uint8_t firstLevelName;
  2648. uint8_t nLevelNames;
  2649. uint8_t pad1;
  2650. uint8_t nRadioGroups;
  2651. uint8_t nKeyAliases;
  2652. uint8_t changedGroupNames;
  2653. uint16_t changedVirtualMods;
  2654. xcb_keycode_t firstKey;
  2655. uint8_t nKeys;
  2656. uint32_t changedIndicators;
  2657. uint8_t pad2[4];
  2658. } xcb_xkb_names_notify_event_t;
  2659. /** Opcode for xcb_xkb_compat_map_notify. */
  2660. #define XCB_XKB_COMPAT_MAP_NOTIFY 7
  2661. /**
  2662. * @brief xcb_xkb_compat_map_notify_event_t
  2663. **/
  2664. typedef struct xcb_xkb_compat_map_notify_event_t {
  2665. uint8_t response_type;
  2666. uint8_t xkbType;
  2667. uint16_t sequence;
  2668. xcb_timestamp_t time;
  2669. uint8_t deviceID;
  2670. uint8_t changedGroups;
  2671. uint16_t firstSI;
  2672. uint16_t nSI;
  2673. uint16_t nTotalSI;
  2674. uint8_t pad0[16];
  2675. } xcb_xkb_compat_map_notify_event_t;
  2676. /** Opcode for xcb_xkb_bell_notify. */
  2677. #define XCB_XKB_BELL_NOTIFY 8
  2678. /**
  2679. * @brief xcb_xkb_bell_notify_event_t
  2680. **/
  2681. typedef struct xcb_xkb_bell_notify_event_t {
  2682. uint8_t response_type;
  2683. uint8_t xkbType;
  2684. uint16_t sequence;
  2685. xcb_timestamp_t time;
  2686. uint8_t deviceID;
  2687. uint8_t bellClass;
  2688. uint8_t bellID;
  2689. uint8_t percent;
  2690. uint16_t pitch;
  2691. uint16_t duration;
  2692. xcb_atom_t name;
  2693. xcb_window_t window;
  2694. uint8_t eventOnly;
  2695. uint8_t pad0[7];
  2696. } xcb_xkb_bell_notify_event_t;
  2697. /** Opcode for xcb_xkb_action_message. */
  2698. #define XCB_XKB_ACTION_MESSAGE 9
  2699. /**
  2700. * @brief xcb_xkb_action_message_event_t
  2701. **/
  2702. typedef struct xcb_xkb_action_message_event_t {
  2703. uint8_t response_type;
  2704. uint8_t xkbType;
  2705. uint16_t sequence;
  2706. xcb_timestamp_t time;
  2707. uint8_t deviceID;
  2708. xcb_keycode_t keycode;
  2709. uint8_t press;
  2710. uint8_t keyEventFollows;
  2711. uint8_t mods;
  2712. uint8_t group;
  2713. xcb_xkb_string8_t message[8];
  2714. uint8_t pad0[10];
  2715. } xcb_xkb_action_message_event_t;
  2716. /** Opcode for xcb_xkb_access_x_notify. */
  2717. #define XCB_XKB_ACCESS_X_NOTIFY 10
  2718. /**
  2719. * @brief xcb_xkb_access_x_notify_event_t
  2720. **/
  2721. typedef struct xcb_xkb_access_x_notify_event_t {
  2722. uint8_t response_type;
  2723. uint8_t xkbType;
  2724. uint16_t sequence;
  2725. xcb_timestamp_t time;
  2726. uint8_t deviceID;
  2727. xcb_keycode_t keycode;
  2728. uint16_t detailt;
  2729. uint16_t slowKeysDelay;
  2730. uint16_t debounceDelay;
  2731. uint8_t pad0[16];
  2732. } xcb_xkb_access_x_notify_event_t;
  2733. /** Opcode for xcb_xkb_extension_device_notify. */
  2734. #define XCB_XKB_EXTENSION_DEVICE_NOTIFY 11
  2735. /**
  2736. * @brief xcb_xkb_extension_device_notify_event_t
  2737. **/
  2738. typedef struct xcb_xkb_extension_device_notify_event_t {
  2739. uint8_t response_type;
  2740. uint8_t xkbType;
  2741. uint16_t sequence;
  2742. xcb_timestamp_t time;
  2743. uint8_t deviceID;
  2744. uint8_t pad0;
  2745. uint16_t reason;
  2746. uint16_t ledClass;
  2747. uint16_t ledID;
  2748. uint32_t ledsDefined;
  2749. uint32_t ledState;
  2750. uint8_t firstButton;
  2751. uint8_t nButtons;
  2752. uint16_t supported;
  2753. uint16_t unsupported;
  2754. uint8_t pad1[2];
  2755. } xcb_xkb_extension_device_notify_event_t;
  2756. /**
  2757. * Get the next element of the iterator
  2758. * @param i Pointer to a xcb_xkb_device_spec_iterator_t
  2759. *
  2760. * Get the next element in the iterator. The member rem is
  2761. * decreased by one. The member data points to the next
  2762. * element. The member index is increased by sizeof(xcb_xkb_device_spec_t)
  2763. */
  2764. void
  2765. xcb_xkb_device_spec_next (xcb_xkb_device_spec_iterator_t *i);
  2766. /**
  2767. * Return the iterator pointing to the last element
  2768. * @param i An xcb_xkb_device_spec_iterator_t
  2769. * @return The iterator pointing to the last element
  2770. *
  2771. * Set the current element in the iterator to the last element.
  2772. * The member rem is set to 0. The member data points to the
  2773. * last element.
  2774. */
  2775. xcb_generic_iterator_t
  2776. xcb_xkb_device_spec_end (xcb_xkb_device_spec_iterator_t i);
  2777. /**
  2778. * Get the next element of the iterator
  2779. * @param i Pointer to a xcb_xkb_led_class_spec_iterator_t
  2780. *
  2781. * Get the next element in the iterator. The member rem is
  2782. * decreased by one. The member data points to the next
  2783. * element. The member index is increased by sizeof(xcb_xkb_led_class_spec_t)
  2784. */
  2785. void
  2786. xcb_xkb_led_class_spec_next (xcb_xkb_led_class_spec_iterator_t *i);
  2787. /**
  2788. * Return the iterator pointing to the last element
  2789. * @param i An xcb_xkb_led_class_spec_iterator_t
  2790. * @return The iterator pointing to the last element
  2791. *
  2792. * Set the current element in the iterator to the last element.
  2793. * The member rem is set to 0. The member data points to the
  2794. * last element.
  2795. */
  2796. xcb_generic_iterator_t
  2797. xcb_xkb_led_class_spec_end (xcb_xkb_led_class_spec_iterator_t i);
  2798. /**
  2799. * Get the next element of the iterator
  2800. * @param i Pointer to a xcb_xkb_bell_class_spec_iterator_t
  2801. *
  2802. * Get the next element in the iterator. The member rem is
  2803. * decreased by one. The member data points to the next
  2804. * element. The member index is increased by sizeof(xcb_xkb_bell_class_spec_t)
  2805. */
  2806. void
  2807. xcb_xkb_bell_class_spec_next (xcb_xkb_bell_class_spec_iterator_t *i);
  2808. /**
  2809. * Return the iterator pointing to the last element
  2810. * @param i An xcb_xkb_bell_class_spec_iterator_t
  2811. * @return The iterator pointing to the last element
  2812. *
  2813. * Set the current element in the iterator to the last element.
  2814. * The member rem is set to 0. The member data points to the
  2815. * last element.
  2816. */
  2817. xcb_generic_iterator_t
  2818. xcb_xkb_bell_class_spec_end (xcb_xkb_bell_class_spec_iterator_t i);
  2819. /**
  2820. * Get the next element of the iterator
  2821. * @param i Pointer to a xcb_xkb_id_spec_iterator_t
  2822. *
  2823. * Get the next element in the iterator. The member rem is
  2824. * decreased by one. The member data points to the next
  2825. * element. The member index is increased by sizeof(xcb_xkb_id_spec_t)
  2826. */
  2827. void
  2828. xcb_xkb_id_spec_next (xcb_xkb_id_spec_iterator_t *i);
  2829. /**
  2830. * Return the iterator pointing to the last element
  2831. * @param i An xcb_xkb_id_spec_iterator_t
  2832. * @return The iterator pointing to the last element
  2833. *
  2834. * Set the current element in the iterator to the last element.
  2835. * The member rem is set to 0. The member data points to the
  2836. * last element.
  2837. */
  2838. xcb_generic_iterator_t
  2839. xcb_xkb_id_spec_end (xcb_xkb_id_spec_iterator_t i);
  2840. /**
  2841. * Get the next element of the iterator
  2842. * @param i Pointer to a xcb_xkb_indicator_map_iterator_t
  2843. *
  2844. * Get the next element in the iterator. The member rem is
  2845. * decreased by one. The member data points to the next
  2846. * element. The member index is increased by sizeof(xcb_xkb_indicator_map_t)
  2847. */
  2848. void
  2849. xcb_xkb_indicator_map_next (xcb_xkb_indicator_map_iterator_t *i);
  2850. /**
  2851. * Return the iterator pointing to the last element
  2852. * @param i An xcb_xkb_indicator_map_iterator_t
  2853. * @return The iterator pointing to the last element
  2854. *
  2855. * Set the current element in the iterator to the last element.
  2856. * The member rem is set to 0. The member data points to the
  2857. * last element.
  2858. */
  2859. xcb_generic_iterator_t
  2860. xcb_xkb_indicator_map_end (xcb_xkb_indicator_map_iterator_t i);
  2861. /**
  2862. * Get the next element of the iterator
  2863. * @param i Pointer to a xcb_xkb_mod_def_iterator_t
  2864. *
  2865. * Get the next element in the iterator. The member rem is
  2866. * decreased by one. The member data points to the next
  2867. * element. The member index is increased by sizeof(xcb_xkb_mod_def_t)
  2868. */
  2869. void
  2870. xcb_xkb_mod_def_next (xcb_xkb_mod_def_iterator_t *i);
  2871. /**
  2872. * Return the iterator pointing to the last element
  2873. * @param i An xcb_xkb_mod_def_iterator_t
  2874. * @return The iterator pointing to the last element
  2875. *
  2876. * Set the current element in the iterator to the last element.
  2877. * The member rem is set to 0. The member data points to the
  2878. * last element.
  2879. */
  2880. xcb_generic_iterator_t
  2881. xcb_xkb_mod_def_end (xcb_xkb_mod_def_iterator_t i);
  2882. /**
  2883. * Get the next element of the iterator
  2884. * @param i Pointer to a xcb_xkb_key_name_iterator_t
  2885. *
  2886. * Get the next element in the iterator. The member rem is
  2887. * decreased by one. The member data points to the next
  2888. * element. The member index is increased by sizeof(xcb_xkb_key_name_t)
  2889. */
  2890. void
  2891. xcb_xkb_key_name_next (xcb_xkb_key_name_iterator_t *i);
  2892. /**
  2893. * Return the iterator pointing to the last element
  2894. * @param i An xcb_xkb_key_name_iterator_t
  2895. * @return The iterator pointing to the last element
  2896. *
  2897. * Set the current element in the iterator to the last element.
  2898. * The member rem is set to 0. The member data points to the
  2899. * last element.
  2900. */
  2901. xcb_generic_iterator_t
  2902. xcb_xkb_key_name_end (xcb_xkb_key_name_iterator_t i);
  2903. /**
  2904. * Get the next element of the iterator
  2905. * @param i Pointer to a xcb_xkb_key_alias_iterator_t
  2906. *
  2907. * Get the next element in the iterator. The member rem is
  2908. * decreased by one. The member data points to the next
  2909. * element. The member index is increased by sizeof(xcb_xkb_key_alias_t)
  2910. */
  2911. void
  2912. xcb_xkb_key_alias_next (xcb_xkb_key_alias_iterator_t *i);
  2913. /**
  2914. * Return the iterator pointing to the last element
  2915. * @param i An xcb_xkb_key_alias_iterator_t
  2916. * @return The iterator pointing to the last element
  2917. *
  2918. * Set the current element in the iterator to the last element.
  2919. * The member rem is set to 0. The member data points to the
  2920. * last element.
  2921. */
  2922. xcb_generic_iterator_t
  2923. xcb_xkb_key_alias_end (xcb_xkb_key_alias_iterator_t i);
  2924. int
  2925. xcb_xkb_counted_string_16_sizeof (const void *_buffer);
  2926. char *
  2927. xcb_xkb_counted_string_16_string (const xcb_xkb_counted_string_16_t *R);
  2928. int
  2929. xcb_xkb_counted_string_16_string_length (const xcb_xkb_counted_string_16_t *R);
  2930. xcb_generic_iterator_t
  2931. xcb_xkb_counted_string_16_string_end (const xcb_xkb_counted_string_16_t *R);
  2932. void *
  2933. xcb_xkb_counted_string_16_alignment_pad (const xcb_xkb_counted_string_16_t *R);
  2934. int
  2935. xcb_xkb_counted_string_16_alignment_pad_length (const xcb_xkb_counted_string_16_t *R);
  2936. xcb_generic_iterator_t
  2937. xcb_xkb_counted_string_16_alignment_pad_end (const xcb_xkb_counted_string_16_t *R);
  2938. /**
  2939. * Get the next element of the iterator
  2940. * @param i Pointer to a xcb_xkb_counted_string_16_iterator_t
  2941. *
  2942. * Get the next element in the iterator. The member rem is
  2943. * decreased by one. The member data points to the next
  2944. * element. The member index is increased by sizeof(xcb_xkb_counted_string_16_t)
  2945. */
  2946. void
  2947. xcb_xkb_counted_string_16_next (xcb_xkb_counted_string_16_iterator_t *i);
  2948. /**
  2949. * Return the iterator pointing to the last element
  2950. * @param i An xcb_xkb_counted_string_16_iterator_t
  2951. * @return The iterator pointing to the last element
  2952. *
  2953. * Set the current element in the iterator to the last element.
  2954. * The member rem is set to 0. The member data points to the
  2955. * last element.
  2956. */
  2957. xcb_generic_iterator_t
  2958. xcb_xkb_counted_string_16_end (xcb_xkb_counted_string_16_iterator_t i);
  2959. /**
  2960. * Get the next element of the iterator
  2961. * @param i Pointer to a xcb_xkb_kt_map_entry_iterator_t
  2962. *
  2963. * Get the next element in the iterator. The member rem is
  2964. * decreased by one. The member data points to the next
  2965. * element. The member index is increased by sizeof(xcb_xkb_kt_map_entry_t)
  2966. */
  2967. void
  2968. xcb_xkb_kt_map_entry_next (xcb_xkb_kt_map_entry_iterator_t *i);
  2969. /**
  2970. * Return the iterator pointing to the last element
  2971. * @param i An xcb_xkb_kt_map_entry_iterator_t
  2972. * @return The iterator pointing to the last element
  2973. *
  2974. * Set the current element in the iterator to the last element.
  2975. * The member rem is set to 0. The member data points to the
  2976. * last element.
  2977. */
  2978. xcb_generic_iterator_t
  2979. xcb_xkb_kt_map_entry_end (xcb_xkb_kt_map_entry_iterator_t i);
  2980. int
  2981. xcb_xkb_key_type_sizeof (const void *_buffer);
  2982. xcb_xkb_kt_map_entry_t *
  2983. xcb_xkb_key_type_map (const xcb_xkb_key_type_t *R);
  2984. int
  2985. xcb_xkb_key_type_map_length (const xcb_xkb_key_type_t *R);
  2986. xcb_xkb_kt_map_entry_iterator_t
  2987. xcb_xkb_key_type_map_iterator (const xcb_xkb_key_type_t *R);
  2988. xcb_xkb_mod_def_t *
  2989. xcb_xkb_key_type_preserve (const xcb_xkb_key_type_t *R);
  2990. int
  2991. xcb_xkb_key_type_preserve_length (const xcb_xkb_key_type_t *R);
  2992. xcb_xkb_mod_def_iterator_t
  2993. xcb_xkb_key_type_preserve_iterator (const xcb_xkb_key_type_t *R);
  2994. /**
  2995. * Get the next element of the iterator
  2996. * @param i Pointer to a xcb_xkb_key_type_iterator_t
  2997. *
  2998. * Get the next element in the iterator. The member rem is
  2999. * decreased by one. The member data points to the next
  3000. * element. The member index is increased by sizeof(xcb_xkb_key_type_t)
  3001. */
  3002. void
  3003. xcb_xkb_key_type_next (xcb_xkb_key_type_iterator_t *i);
  3004. /**
  3005. * Return the iterator pointing to the last element
  3006. * @param i An xcb_xkb_key_type_iterator_t
  3007. * @return The iterator pointing to the last element
  3008. *
  3009. * Set the current element in the iterator to the last element.
  3010. * The member rem is set to 0. The member data points to the
  3011. * last element.
  3012. */
  3013. xcb_generic_iterator_t
  3014. xcb_xkb_key_type_end (xcb_xkb_key_type_iterator_t i);
  3015. int
  3016. xcb_xkb_key_sym_map_sizeof (const void *_buffer);
  3017. xcb_keysym_t *
  3018. xcb_xkb_key_sym_map_syms (const xcb_xkb_key_sym_map_t *R);
  3019. int
  3020. xcb_xkb_key_sym_map_syms_length (const xcb_xkb_key_sym_map_t *R);
  3021. xcb_generic_iterator_t
  3022. xcb_xkb_key_sym_map_syms_end (const xcb_xkb_key_sym_map_t *R);
  3023. /**
  3024. * Get the next element of the iterator
  3025. * @param i Pointer to a xcb_xkb_key_sym_map_iterator_t
  3026. *
  3027. * Get the next element in the iterator. The member rem is
  3028. * decreased by one. The member data points to the next
  3029. * element. The member index is increased by sizeof(xcb_xkb_key_sym_map_t)
  3030. */
  3031. void
  3032. xcb_xkb_key_sym_map_next (xcb_xkb_key_sym_map_iterator_t *i);
  3033. /**
  3034. * Return the iterator pointing to the last element
  3035. * @param i An xcb_xkb_key_sym_map_iterator_t
  3036. * @return The iterator pointing to the last element
  3037. *
  3038. * Set the current element in the iterator to the last element.
  3039. * The member rem is set to 0. The member data points to the
  3040. * last element.
  3041. */
  3042. xcb_generic_iterator_t
  3043. xcb_xkb_key_sym_map_end (xcb_xkb_key_sym_map_iterator_t i);
  3044. /**
  3045. * Get the next element of the iterator
  3046. * @param i Pointer to a xcb_xkb_common_behavior_iterator_t
  3047. *
  3048. * Get the next element in the iterator. The member rem is
  3049. * decreased by one. The member data points to the next
  3050. * element. The member index is increased by sizeof(xcb_xkb_common_behavior_t)
  3051. */
  3052. void
  3053. xcb_xkb_common_behavior_next (xcb_xkb_common_behavior_iterator_t *i);
  3054. /**
  3055. * Return the iterator pointing to the last element
  3056. * @param i An xcb_xkb_common_behavior_iterator_t
  3057. * @return The iterator pointing to the last element
  3058. *
  3059. * Set the current element in the iterator to the last element.
  3060. * The member rem is set to 0. The member data points to the
  3061. * last element.
  3062. */
  3063. xcb_generic_iterator_t
  3064. xcb_xkb_common_behavior_end (xcb_xkb_common_behavior_iterator_t i);
  3065. /**
  3066. * Get the next element of the iterator
  3067. * @param i Pointer to a xcb_xkb_default_behavior_iterator_t
  3068. *
  3069. * Get the next element in the iterator. The member rem is
  3070. * decreased by one. The member data points to the next
  3071. * element. The member index is increased by sizeof(xcb_xkb_default_behavior_t)
  3072. */
  3073. void
  3074. xcb_xkb_default_behavior_next (xcb_xkb_default_behavior_iterator_t *i);
  3075. /**
  3076. * Return the iterator pointing to the last element
  3077. * @param i An xcb_xkb_default_behavior_iterator_t
  3078. * @return The iterator pointing to the last element
  3079. *
  3080. * Set the current element in the iterator to the last element.
  3081. * The member rem is set to 0. The member data points to the
  3082. * last element.
  3083. */
  3084. xcb_generic_iterator_t
  3085. xcb_xkb_default_behavior_end (xcb_xkb_default_behavior_iterator_t i);
  3086. /**
  3087. * Get the next element of the iterator
  3088. * @param i Pointer to a xcb_xkb_lock_behavior_iterator_t
  3089. *
  3090. * Get the next element in the iterator. The member rem is
  3091. * decreased by one. The member data points to the next
  3092. * element. The member index is increased by sizeof(xcb_xkb_lock_behavior_t)
  3093. */
  3094. void
  3095. xcb_xkb_lock_behavior_next (xcb_xkb_lock_behavior_iterator_t *i);
  3096. /**
  3097. * Return the iterator pointing to the last element
  3098. * @param i An xcb_xkb_lock_behavior_iterator_t
  3099. * @return The iterator pointing to the last element
  3100. *
  3101. * Set the current element in the iterator to the last element.
  3102. * The member rem is set to 0. The member data points to the
  3103. * last element.
  3104. */
  3105. xcb_generic_iterator_t
  3106. xcb_xkb_lock_behavior_end (xcb_xkb_lock_behavior_iterator_t i);
  3107. /**
  3108. * Get the next element of the iterator
  3109. * @param i Pointer to a xcb_xkb_radio_group_behavior_iterator_t
  3110. *
  3111. * Get the next element in the iterator. The member rem is
  3112. * decreased by one. The member data points to the next
  3113. * element. The member index is increased by sizeof(xcb_xkb_radio_group_behavior_t)
  3114. */
  3115. void
  3116. xcb_xkb_radio_group_behavior_next (xcb_xkb_radio_group_behavior_iterator_t *i);
  3117. /**
  3118. * Return the iterator pointing to the last element
  3119. * @param i An xcb_xkb_radio_group_behavior_iterator_t
  3120. * @return The iterator pointing to the last element
  3121. *
  3122. * Set the current element in the iterator to the last element.
  3123. * The member rem is set to 0. The member data points to the
  3124. * last element.
  3125. */
  3126. xcb_generic_iterator_t
  3127. xcb_xkb_radio_group_behavior_end (xcb_xkb_radio_group_behavior_iterator_t i);
  3128. /**
  3129. * Get the next element of the iterator
  3130. * @param i Pointer to a xcb_xkb_overlay_behavior_iterator_t
  3131. *
  3132. * Get the next element in the iterator. The member rem is
  3133. * decreased by one. The member data points to the next
  3134. * element. The member index is increased by sizeof(xcb_xkb_overlay_behavior_t)
  3135. */
  3136. void
  3137. xcb_xkb_overlay_behavior_next (xcb_xkb_overlay_behavior_iterator_t *i);
  3138. /**
  3139. * Return the iterator pointing to the last element
  3140. * @param i An xcb_xkb_overlay_behavior_iterator_t
  3141. * @return The iterator pointing to the last element
  3142. *
  3143. * Set the current element in the iterator to the last element.
  3144. * The member rem is set to 0. The member data points to the
  3145. * last element.
  3146. */
  3147. xcb_generic_iterator_t
  3148. xcb_xkb_overlay_behavior_end (xcb_xkb_overlay_behavior_iterator_t i);
  3149. /**
  3150. * Get the next element of the iterator
  3151. * @param i Pointer to a xcb_xkb_permament_lock_behavior_iterator_t
  3152. *
  3153. * Get the next element in the iterator. The member rem is
  3154. * decreased by one. The member data points to the next
  3155. * element. The member index is increased by sizeof(xcb_xkb_permament_lock_behavior_t)
  3156. */
  3157. void
  3158. xcb_xkb_permament_lock_behavior_next (xcb_xkb_permament_lock_behavior_iterator_t *i);
  3159. /**
  3160. * Return the iterator pointing to the last element
  3161. * @param i An xcb_xkb_permament_lock_behavior_iterator_t
  3162. * @return The iterator pointing to the last element
  3163. *
  3164. * Set the current element in the iterator to the last element.
  3165. * The member rem is set to 0. The member data points to the
  3166. * last element.
  3167. */
  3168. xcb_generic_iterator_t
  3169. xcb_xkb_permament_lock_behavior_end (xcb_xkb_permament_lock_behavior_iterator_t i);
  3170. /**
  3171. * Get the next element of the iterator
  3172. * @param i Pointer to a xcb_xkb_permament_radio_group_behavior_iterator_t
  3173. *
  3174. * Get the next element in the iterator. The member rem is
  3175. * decreased by one. The member data points to the next
  3176. * element. The member index is increased by sizeof(xcb_xkb_permament_radio_group_behavior_t)
  3177. */
  3178. void
  3179. xcb_xkb_permament_radio_group_behavior_next (xcb_xkb_permament_radio_group_behavior_iterator_t *i);
  3180. /**
  3181. * Return the iterator pointing to the last element
  3182. * @param i An xcb_xkb_permament_radio_group_behavior_iterator_t
  3183. * @return The iterator pointing to the last element
  3184. *
  3185. * Set the current element in the iterator to the last element.
  3186. * The member rem is set to 0. The member data points to the
  3187. * last element.
  3188. */
  3189. xcb_generic_iterator_t
  3190. xcb_xkb_permament_radio_group_behavior_end (xcb_xkb_permament_radio_group_behavior_iterator_t i);
  3191. /**
  3192. * Get the next element of the iterator
  3193. * @param i Pointer to a xcb_xkb_permament_overlay_behavior_iterator_t
  3194. *
  3195. * Get the next element in the iterator. The member rem is
  3196. * decreased by one. The member data points to the next
  3197. * element. The member index is increased by sizeof(xcb_xkb_permament_overlay_behavior_t)
  3198. */
  3199. void
  3200. xcb_xkb_permament_overlay_behavior_next (xcb_xkb_permament_overlay_behavior_iterator_t *i);
  3201. /**
  3202. * Return the iterator pointing to the last element
  3203. * @param i An xcb_xkb_permament_overlay_behavior_iterator_t
  3204. * @return The iterator pointing to the last element
  3205. *
  3206. * Set the current element in the iterator to the last element.
  3207. * The member rem is set to 0. The member data points to the
  3208. * last element.
  3209. */
  3210. xcb_generic_iterator_t
  3211. xcb_xkb_permament_overlay_behavior_end (xcb_xkb_permament_overlay_behavior_iterator_t i);
  3212. /**
  3213. * Get the next element of the iterator
  3214. * @param i Pointer to a xcb_xkb_behavior_iterator_t
  3215. *
  3216. * Get the next element in the iterator. The member rem is
  3217. * decreased by one. The member data points to the next
  3218. * element. The member index is increased by sizeof(xcb_xkb_behavior_t)
  3219. */
  3220. void
  3221. xcb_xkb_behavior_next (xcb_xkb_behavior_iterator_t *i);
  3222. /**
  3223. * Return the iterator pointing to the last element
  3224. * @param i An xcb_xkb_behavior_iterator_t
  3225. * @return The iterator pointing to the last element
  3226. *
  3227. * Set the current element in the iterator to the last element.
  3228. * The member rem is set to 0. The member data points to the
  3229. * last element.
  3230. */
  3231. xcb_generic_iterator_t
  3232. xcb_xkb_behavior_end (xcb_xkb_behavior_iterator_t i);
  3233. /**
  3234. * Get the next element of the iterator
  3235. * @param i Pointer to a xcb_xkb_set_behavior_iterator_t
  3236. *
  3237. * Get the next element in the iterator. The member rem is
  3238. * decreased by one. The member data points to the next
  3239. * element. The member index is increased by sizeof(xcb_xkb_set_behavior_t)
  3240. */
  3241. void
  3242. xcb_xkb_set_behavior_next (xcb_xkb_set_behavior_iterator_t *i);
  3243. /**
  3244. * Return the iterator pointing to the last element
  3245. * @param i An xcb_xkb_set_behavior_iterator_t
  3246. * @return The iterator pointing to the last element
  3247. *
  3248. * Set the current element in the iterator to the last element.
  3249. * The member rem is set to 0. The member data points to the
  3250. * last element.
  3251. */
  3252. xcb_generic_iterator_t
  3253. xcb_xkb_set_behavior_end (xcb_xkb_set_behavior_iterator_t i);
  3254. /**
  3255. * Get the next element of the iterator
  3256. * @param i Pointer to a xcb_xkb_set_explicit_iterator_t
  3257. *
  3258. * Get the next element in the iterator. The member rem is
  3259. * decreased by one. The member data points to the next
  3260. * element. The member index is increased by sizeof(xcb_xkb_set_explicit_t)
  3261. */
  3262. void
  3263. xcb_xkb_set_explicit_next (xcb_xkb_set_explicit_iterator_t *i);
  3264. /**
  3265. * Return the iterator pointing to the last element
  3266. * @param i An xcb_xkb_set_explicit_iterator_t
  3267. * @return The iterator pointing to the last element
  3268. *
  3269. * Set the current element in the iterator to the last element.
  3270. * The member rem is set to 0. The member data points to the
  3271. * last element.
  3272. */
  3273. xcb_generic_iterator_t
  3274. xcb_xkb_set_explicit_end (xcb_xkb_set_explicit_iterator_t i);
  3275. /**
  3276. * Get the next element of the iterator
  3277. * @param i Pointer to a xcb_xkb_key_mod_map_iterator_t
  3278. *
  3279. * Get the next element in the iterator. The member rem is
  3280. * decreased by one. The member data points to the next
  3281. * element. The member index is increased by sizeof(xcb_xkb_key_mod_map_t)
  3282. */
  3283. void
  3284. xcb_xkb_key_mod_map_next (xcb_xkb_key_mod_map_iterator_t *i);
  3285. /**
  3286. * Return the iterator pointing to the last element
  3287. * @param i An xcb_xkb_key_mod_map_iterator_t
  3288. * @return The iterator pointing to the last element
  3289. *
  3290. * Set the current element in the iterator to the last element.
  3291. * The member rem is set to 0. The member data points to the
  3292. * last element.
  3293. */
  3294. xcb_generic_iterator_t
  3295. xcb_xkb_key_mod_map_end (xcb_xkb_key_mod_map_iterator_t i);
  3296. /**
  3297. * Get the next element of the iterator
  3298. * @param i Pointer to a xcb_xkb_key_v_mod_map_iterator_t
  3299. *
  3300. * Get the next element in the iterator. The member rem is
  3301. * decreased by one. The member data points to the next
  3302. * element. The member index is increased by sizeof(xcb_xkb_key_v_mod_map_t)
  3303. */
  3304. void
  3305. xcb_xkb_key_v_mod_map_next (xcb_xkb_key_v_mod_map_iterator_t *i);
  3306. /**
  3307. * Return the iterator pointing to the last element
  3308. * @param i An xcb_xkb_key_v_mod_map_iterator_t
  3309. * @return The iterator pointing to the last element
  3310. *
  3311. * Set the current element in the iterator to the last element.
  3312. * The member rem is set to 0. The member data points to the
  3313. * last element.
  3314. */
  3315. xcb_generic_iterator_t
  3316. xcb_xkb_key_v_mod_map_end (xcb_xkb_key_v_mod_map_iterator_t i);
  3317. /**
  3318. * Get the next element of the iterator
  3319. * @param i Pointer to a xcb_xkb_kt_set_map_entry_iterator_t
  3320. *
  3321. * Get the next element in the iterator. The member rem is
  3322. * decreased by one. The member data points to the next
  3323. * element. The member index is increased by sizeof(xcb_xkb_kt_set_map_entry_t)
  3324. */
  3325. void
  3326. xcb_xkb_kt_set_map_entry_next (xcb_xkb_kt_set_map_entry_iterator_t *i);
  3327. /**
  3328. * Return the iterator pointing to the last element
  3329. * @param i An xcb_xkb_kt_set_map_entry_iterator_t
  3330. * @return The iterator pointing to the last element
  3331. *
  3332. * Set the current element in the iterator to the last element.
  3333. * The member rem is set to 0. The member data points to the
  3334. * last element.
  3335. */
  3336. xcb_generic_iterator_t
  3337. xcb_xkb_kt_set_map_entry_end (xcb_xkb_kt_set_map_entry_iterator_t i);
  3338. int
  3339. xcb_xkb_set_key_type_sizeof (const void *_buffer);
  3340. xcb_xkb_kt_set_map_entry_t *
  3341. xcb_xkb_set_key_type_entries (const xcb_xkb_set_key_type_t *R);
  3342. int
  3343. xcb_xkb_set_key_type_entries_length (const xcb_xkb_set_key_type_t *R);
  3344. xcb_xkb_kt_set_map_entry_iterator_t
  3345. xcb_xkb_set_key_type_entries_iterator (const xcb_xkb_set_key_type_t *R);
  3346. xcb_xkb_kt_set_map_entry_t *
  3347. xcb_xkb_set_key_type_preserve_entries (const xcb_xkb_set_key_type_t *R);
  3348. int
  3349. xcb_xkb_set_key_type_preserve_entries_length (const xcb_xkb_set_key_type_t *R);
  3350. xcb_xkb_kt_set_map_entry_iterator_t
  3351. xcb_xkb_set_key_type_preserve_entries_iterator (const xcb_xkb_set_key_type_t *R);
  3352. /**
  3353. * Get the next element of the iterator
  3354. * @param i Pointer to a xcb_xkb_set_key_type_iterator_t
  3355. *
  3356. * Get the next element in the iterator. The member rem is
  3357. * decreased by one. The member data points to the next
  3358. * element. The member index is increased by sizeof(xcb_xkb_set_key_type_t)
  3359. */
  3360. void
  3361. xcb_xkb_set_key_type_next (xcb_xkb_set_key_type_iterator_t *i);
  3362. /**
  3363. * Return the iterator pointing to the last element
  3364. * @param i An xcb_xkb_set_key_type_iterator_t
  3365. * @return The iterator pointing to the last element
  3366. *
  3367. * Set the current element in the iterator to the last element.
  3368. * The member rem is set to 0. The member data points to the
  3369. * last element.
  3370. */
  3371. xcb_generic_iterator_t
  3372. xcb_xkb_set_key_type_end (xcb_xkb_set_key_type_iterator_t i);
  3373. /**
  3374. * Get the next element of the iterator
  3375. * @param i Pointer to a xcb_xkb_string8_iterator_t
  3376. *
  3377. * Get the next element in the iterator. The member rem is
  3378. * decreased by one. The member data points to the next
  3379. * element. The member index is increased by sizeof(xcb_xkb_string8_t)
  3380. */
  3381. void
  3382. xcb_xkb_string8_next (xcb_xkb_string8_iterator_t *i);
  3383. /**
  3384. * Return the iterator pointing to the last element
  3385. * @param i An xcb_xkb_string8_iterator_t
  3386. * @return The iterator pointing to the last element
  3387. *
  3388. * Set the current element in the iterator to the last element.
  3389. * The member rem is set to 0. The member data points to the
  3390. * last element.
  3391. */
  3392. xcb_generic_iterator_t
  3393. xcb_xkb_string8_end (xcb_xkb_string8_iterator_t i);
  3394. int
  3395. xcb_xkb_outline_sizeof (const void *_buffer);
  3396. xcb_point_t *
  3397. xcb_xkb_outline_points (const xcb_xkb_outline_t *R);
  3398. int
  3399. xcb_xkb_outline_points_length (const xcb_xkb_outline_t *R);
  3400. xcb_point_iterator_t
  3401. xcb_xkb_outline_points_iterator (const xcb_xkb_outline_t *R);
  3402. /**
  3403. * Get the next element of the iterator
  3404. * @param i Pointer to a xcb_xkb_outline_iterator_t
  3405. *
  3406. * Get the next element in the iterator. The member rem is
  3407. * decreased by one. The member data points to the next
  3408. * element. The member index is increased by sizeof(xcb_xkb_outline_t)
  3409. */
  3410. void
  3411. xcb_xkb_outline_next (xcb_xkb_outline_iterator_t *i);
  3412. /**
  3413. * Return the iterator pointing to the last element
  3414. * @param i An xcb_xkb_outline_iterator_t
  3415. * @return The iterator pointing to the last element
  3416. *
  3417. * Set the current element in the iterator to the last element.
  3418. * The member rem is set to 0. The member data points to the
  3419. * last element.
  3420. */
  3421. xcb_generic_iterator_t
  3422. xcb_xkb_outline_end (xcb_xkb_outline_iterator_t i);
  3423. int
  3424. xcb_xkb_shape_sizeof (const void *_buffer);
  3425. int
  3426. xcb_xkb_shape_outlines_length (const xcb_xkb_shape_t *R);
  3427. xcb_xkb_outline_iterator_t
  3428. xcb_xkb_shape_outlines_iterator (const xcb_xkb_shape_t *R);
  3429. /**
  3430. * Get the next element of the iterator
  3431. * @param i Pointer to a xcb_xkb_shape_iterator_t
  3432. *
  3433. * Get the next element in the iterator. The member rem is
  3434. * decreased by one. The member data points to the next
  3435. * element. The member index is increased by sizeof(xcb_xkb_shape_t)
  3436. */
  3437. void
  3438. xcb_xkb_shape_next (xcb_xkb_shape_iterator_t *i);
  3439. /**
  3440. * Return the iterator pointing to the last element
  3441. * @param i An xcb_xkb_shape_iterator_t
  3442. * @return The iterator pointing to the last element
  3443. *
  3444. * Set the current element in the iterator to the last element.
  3445. * The member rem is set to 0. The member data points to the
  3446. * last element.
  3447. */
  3448. xcb_generic_iterator_t
  3449. xcb_xkb_shape_end (xcb_xkb_shape_iterator_t i);
  3450. /**
  3451. * Get the next element of the iterator
  3452. * @param i Pointer to a xcb_xkb_key_iterator_t
  3453. *
  3454. * Get the next element in the iterator. The member rem is
  3455. * decreased by one. The member data points to the next
  3456. * element. The member index is increased by sizeof(xcb_xkb_key_t)
  3457. */
  3458. void
  3459. xcb_xkb_key_next (xcb_xkb_key_iterator_t *i);
  3460. /**
  3461. * Return the iterator pointing to the last element
  3462. * @param i An xcb_xkb_key_iterator_t
  3463. * @return The iterator pointing to the last element
  3464. *
  3465. * Set the current element in the iterator to the last element.
  3466. * The member rem is set to 0. The member data points to the
  3467. * last element.
  3468. */
  3469. xcb_generic_iterator_t
  3470. xcb_xkb_key_end (xcb_xkb_key_iterator_t i);
  3471. /**
  3472. * Get the next element of the iterator
  3473. * @param i Pointer to a xcb_xkb_overlay_key_iterator_t
  3474. *
  3475. * Get the next element in the iterator. The member rem is
  3476. * decreased by one. The member data points to the next
  3477. * element. The member index is increased by sizeof(xcb_xkb_overlay_key_t)
  3478. */
  3479. void
  3480. xcb_xkb_overlay_key_next (xcb_xkb_overlay_key_iterator_t *i);
  3481. /**
  3482. * Return the iterator pointing to the last element
  3483. * @param i An xcb_xkb_overlay_key_iterator_t
  3484. * @return The iterator pointing to the last element
  3485. *
  3486. * Set the current element in the iterator to the last element.
  3487. * The member rem is set to 0. The member data points to the
  3488. * last element.
  3489. */
  3490. xcb_generic_iterator_t
  3491. xcb_xkb_overlay_key_end (xcb_xkb_overlay_key_iterator_t i);
  3492. int
  3493. xcb_xkb_overlay_row_sizeof (const void *_buffer);
  3494. xcb_xkb_overlay_key_t *
  3495. xcb_xkb_overlay_row_keys (const xcb_xkb_overlay_row_t *R);
  3496. int
  3497. xcb_xkb_overlay_row_keys_length (const xcb_xkb_overlay_row_t *R);
  3498. xcb_xkb_overlay_key_iterator_t
  3499. xcb_xkb_overlay_row_keys_iterator (const xcb_xkb_overlay_row_t *R);
  3500. /**
  3501. * Get the next element of the iterator
  3502. * @param i Pointer to a xcb_xkb_overlay_row_iterator_t
  3503. *
  3504. * Get the next element in the iterator. The member rem is
  3505. * decreased by one. The member data points to the next
  3506. * element. The member index is increased by sizeof(xcb_xkb_overlay_row_t)
  3507. */
  3508. void
  3509. xcb_xkb_overlay_row_next (xcb_xkb_overlay_row_iterator_t *i);
  3510. /**
  3511. * Return the iterator pointing to the last element
  3512. * @param i An xcb_xkb_overlay_row_iterator_t
  3513. * @return The iterator pointing to the last element
  3514. *
  3515. * Set the current element in the iterator to the last element.
  3516. * The member rem is set to 0. The member data points to the
  3517. * last element.
  3518. */
  3519. xcb_generic_iterator_t
  3520. xcb_xkb_overlay_row_end (xcb_xkb_overlay_row_iterator_t i);
  3521. int
  3522. xcb_xkb_overlay_sizeof (const void *_buffer);
  3523. int
  3524. xcb_xkb_overlay_rows_length (const xcb_xkb_overlay_t *R);
  3525. xcb_xkb_overlay_row_iterator_t
  3526. xcb_xkb_overlay_rows_iterator (const xcb_xkb_overlay_t *R);
  3527. /**
  3528. * Get the next element of the iterator
  3529. * @param i Pointer to a xcb_xkb_overlay_iterator_t
  3530. *
  3531. * Get the next element in the iterator. The member rem is
  3532. * decreased by one. The member data points to the next
  3533. * element. The member index is increased by sizeof(xcb_xkb_overlay_t)
  3534. */
  3535. void
  3536. xcb_xkb_overlay_next (xcb_xkb_overlay_iterator_t *i);
  3537. /**
  3538. * Return the iterator pointing to the last element
  3539. * @param i An xcb_xkb_overlay_iterator_t
  3540. * @return The iterator pointing to the last element
  3541. *
  3542. * Set the current element in the iterator to the last element.
  3543. * The member rem is set to 0. The member data points to the
  3544. * last element.
  3545. */
  3546. xcb_generic_iterator_t
  3547. xcb_xkb_overlay_end (xcb_xkb_overlay_iterator_t i);
  3548. int
  3549. xcb_xkb_row_sizeof (const void *_buffer);
  3550. xcb_xkb_key_t *
  3551. xcb_xkb_row_keys (const xcb_xkb_row_t *R);
  3552. int
  3553. xcb_xkb_row_keys_length (const xcb_xkb_row_t *R);
  3554. xcb_xkb_key_iterator_t
  3555. xcb_xkb_row_keys_iterator (const xcb_xkb_row_t *R);
  3556. /**
  3557. * Get the next element of the iterator
  3558. * @param i Pointer to a xcb_xkb_row_iterator_t
  3559. *
  3560. * Get the next element in the iterator. The member rem is
  3561. * decreased by one. The member data points to the next
  3562. * element. The member index is increased by sizeof(xcb_xkb_row_t)
  3563. */
  3564. void
  3565. xcb_xkb_row_next (xcb_xkb_row_iterator_t *i);
  3566. /**
  3567. * Return the iterator pointing to the last element
  3568. * @param i An xcb_xkb_row_iterator_t
  3569. * @return The iterator pointing to the last element
  3570. *
  3571. * Set the current element in the iterator to the last element.
  3572. * The member rem is set to 0. The member data points to the
  3573. * last element.
  3574. */
  3575. xcb_generic_iterator_t
  3576. xcb_xkb_row_end (xcb_xkb_row_iterator_t i);
  3577. int
  3578. xcb_xkb_listing_sizeof (const void *_buffer);
  3579. xcb_xkb_string8_t *
  3580. xcb_xkb_listing_string (const xcb_xkb_listing_t *R);
  3581. int
  3582. xcb_xkb_listing_string_length (const xcb_xkb_listing_t *R);
  3583. xcb_generic_iterator_t
  3584. xcb_xkb_listing_string_end (const xcb_xkb_listing_t *R);
  3585. /**
  3586. * Get the next element of the iterator
  3587. * @param i Pointer to a xcb_xkb_listing_iterator_t
  3588. *
  3589. * Get the next element in the iterator. The member rem is
  3590. * decreased by one. The member data points to the next
  3591. * element. The member index is increased by sizeof(xcb_xkb_listing_t)
  3592. */
  3593. void
  3594. xcb_xkb_listing_next (xcb_xkb_listing_iterator_t *i);
  3595. /**
  3596. * Return the iterator pointing to the last element
  3597. * @param i An xcb_xkb_listing_iterator_t
  3598. * @return The iterator pointing to the last element
  3599. *
  3600. * Set the current element in the iterator to the last element.
  3601. * The member rem is set to 0. The member data points to the
  3602. * last element.
  3603. */
  3604. xcb_generic_iterator_t
  3605. xcb_xkb_listing_end (xcb_xkb_listing_iterator_t i);
  3606. int
  3607. xcb_xkb_device_led_info_sizeof (const void *_buffer);
  3608. xcb_atom_t *
  3609. xcb_xkb_device_led_info_names (const xcb_xkb_device_led_info_t *R);
  3610. int
  3611. xcb_xkb_device_led_info_names_length (const xcb_xkb_device_led_info_t *R);
  3612. xcb_generic_iterator_t
  3613. xcb_xkb_device_led_info_names_end (const xcb_xkb_device_led_info_t *R);
  3614. xcb_xkb_indicator_map_t *
  3615. xcb_xkb_device_led_info_maps (const xcb_xkb_device_led_info_t *R);
  3616. int
  3617. xcb_xkb_device_led_info_maps_length (const xcb_xkb_device_led_info_t *R);
  3618. xcb_xkb_indicator_map_iterator_t
  3619. xcb_xkb_device_led_info_maps_iterator (const xcb_xkb_device_led_info_t *R);
  3620. /**
  3621. * Get the next element of the iterator
  3622. * @param i Pointer to a xcb_xkb_device_led_info_iterator_t
  3623. *
  3624. * Get the next element in the iterator. The member rem is
  3625. * decreased by one. The member data points to the next
  3626. * element. The member index is increased by sizeof(xcb_xkb_device_led_info_t)
  3627. */
  3628. void
  3629. xcb_xkb_device_led_info_next (xcb_xkb_device_led_info_iterator_t *i);
  3630. /**
  3631. * Return the iterator pointing to the last element
  3632. * @param i An xcb_xkb_device_led_info_iterator_t
  3633. * @return The iterator pointing to the last element
  3634. *
  3635. * Set the current element in the iterator to the last element.
  3636. * The member rem is set to 0. The member data points to the
  3637. * last element.
  3638. */
  3639. xcb_generic_iterator_t
  3640. xcb_xkb_device_led_info_end (xcb_xkb_device_led_info_iterator_t i);
  3641. /**
  3642. * Get the next element of the iterator
  3643. * @param i Pointer to a xcb_xkb_sa_no_action_iterator_t
  3644. *
  3645. * Get the next element in the iterator. The member rem is
  3646. * decreased by one. The member data points to the next
  3647. * element. The member index is increased by sizeof(xcb_xkb_sa_no_action_t)
  3648. */
  3649. void
  3650. xcb_xkb_sa_no_action_next (xcb_xkb_sa_no_action_iterator_t *i);
  3651. /**
  3652. * Return the iterator pointing to the last element
  3653. * @param i An xcb_xkb_sa_no_action_iterator_t
  3654. * @return The iterator pointing to the last element
  3655. *
  3656. * Set the current element in the iterator to the last element.
  3657. * The member rem is set to 0. The member data points to the
  3658. * last element.
  3659. */
  3660. xcb_generic_iterator_t
  3661. xcb_xkb_sa_no_action_end (xcb_xkb_sa_no_action_iterator_t i);
  3662. /**
  3663. * Get the next element of the iterator
  3664. * @param i Pointer to a xcb_xkb_sa_set_mods_iterator_t
  3665. *
  3666. * Get the next element in the iterator. The member rem is
  3667. * decreased by one. The member data points to the next
  3668. * element. The member index is increased by sizeof(xcb_xkb_sa_set_mods_t)
  3669. */
  3670. void
  3671. xcb_xkb_sa_set_mods_next (xcb_xkb_sa_set_mods_iterator_t *i);
  3672. /**
  3673. * Return the iterator pointing to the last element
  3674. * @param i An xcb_xkb_sa_set_mods_iterator_t
  3675. * @return The iterator pointing to the last element
  3676. *
  3677. * Set the current element in the iterator to the last element.
  3678. * The member rem is set to 0. The member data points to the
  3679. * last element.
  3680. */
  3681. xcb_generic_iterator_t
  3682. xcb_xkb_sa_set_mods_end (xcb_xkb_sa_set_mods_iterator_t i);
  3683. /**
  3684. * Get the next element of the iterator
  3685. * @param i Pointer to a xcb_xkb_sa_latch_mods_iterator_t
  3686. *
  3687. * Get the next element in the iterator. The member rem is
  3688. * decreased by one. The member data points to the next
  3689. * element. The member index is increased by sizeof(xcb_xkb_sa_latch_mods_t)
  3690. */
  3691. void
  3692. xcb_xkb_sa_latch_mods_next (xcb_xkb_sa_latch_mods_iterator_t *i);
  3693. /**
  3694. * Return the iterator pointing to the last element
  3695. * @param i An xcb_xkb_sa_latch_mods_iterator_t
  3696. * @return The iterator pointing to the last element
  3697. *
  3698. * Set the current element in the iterator to the last element.
  3699. * The member rem is set to 0. The member data points to the
  3700. * last element.
  3701. */
  3702. xcb_generic_iterator_t
  3703. xcb_xkb_sa_latch_mods_end (xcb_xkb_sa_latch_mods_iterator_t i);
  3704. /**
  3705. * Get the next element of the iterator
  3706. * @param i Pointer to a xcb_xkb_sa_lock_mods_iterator_t
  3707. *
  3708. * Get the next element in the iterator. The member rem is
  3709. * decreased by one. The member data points to the next
  3710. * element. The member index is increased by sizeof(xcb_xkb_sa_lock_mods_t)
  3711. */
  3712. void
  3713. xcb_xkb_sa_lock_mods_next (xcb_xkb_sa_lock_mods_iterator_t *i);
  3714. /**
  3715. * Return the iterator pointing to the last element
  3716. * @param i An xcb_xkb_sa_lock_mods_iterator_t
  3717. * @return The iterator pointing to the last element
  3718. *
  3719. * Set the current element in the iterator to the last element.
  3720. * The member rem is set to 0. The member data points to the
  3721. * last element.
  3722. */
  3723. xcb_generic_iterator_t
  3724. xcb_xkb_sa_lock_mods_end (xcb_xkb_sa_lock_mods_iterator_t i);
  3725. /**
  3726. * Get the next element of the iterator
  3727. * @param i Pointer to a xcb_xkb_sa_set_group_iterator_t
  3728. *
  3729. * Get the next element in the iterator. The member rem is
  3730. * decreased by one. The member data points to the next
  3731. * element. The member index is increased by sizeof(xcb_xkb_sa_set_group_t)
  3732. */
  3733. void
  3734. xcb_xkb_sa_set_group_next (xcb_xkb_sa_set_group_iterator_t *i);
  3735. /**
  3736. * Return the iterator pointing to the last element
  3737. * @param i An xcb_xkb_sa_set_group_iterator_t
  3738. * @return The iterator pointing to the last element
  3739. *
  3740. * Set the current element in the iterator to the last element.
  3741. * The member rem is set to 0. The member data points to the
  3742. * last element.
  3743. */
  3744. xcb_generic_iterator_t
  3745. xcb_xkb_sa_set_group_end (xcb_xkb_sa_set_group_iterator_t i);
  3746. /**
  3747. * Get the next element of the iterator
  3748. * @param i Pointer to a xcb_xkb_sa_latch_group_iterator_t
  3749. *
  3750. * Get the next element in the iterator. The member rem is
  3751. * decreased by one. The member data points to the next
  3752. * element. The member index is increased by sizeof(xcb_xkb_sa_latch_group_t)
  3753. */
  3754. void
  3755. xcb_xkb_sa_latch_group_next (xcb_xkb_sa_latch_group_iterator_t *i);
  3756. /**
  3757. * Return the iterator pointing to the last element
  3758. * @param i An xcb_xkb_sa_latch_group_iterator_t
  3759. * @return The iterator pointing to the last element
  3760. *
  3761. * Set the current element in the iterator to the last element.
  3762. * The member rem is set to 0. The member data points to the
  3763. * last element.
  3764. */
  3765. xcb_generic_iterator_t
  3766. xcb_xkb_sa_latch_group_end (xcb_xkb_sa_latch_group_iterator_t i);
  3767. /**
  3768. * Get the next element of the iterator
  3769. * @param i Pointer to a xcb_xkb_sa_lock_group_iterator_t
  3770. *
  3771. * Get the next element in the iterator. The member rem is
  3772. * decreased by one. The member data points to the next
  3773. * element. The member index is increased by sizeof(xcb_xkb_sa_lock_group_t)
  3774. */
  3775. void
  3776. xcb_xkb_sa_lock_group_next (xcb_xkb_sa_lock_group_iterator_t *i);
  3777. /**
  3778. * Return the iterator pointing to the last element
  3779. * @param i An xcb_xkb_sa_lock_group_iterator_t
  3780. * @return The iterator pointing to the last element
  3781. *
  3782. * Set the current element in the iterator to the last element.
  3783. * The member rem is set to 0. The member data points to the
  3784. * last element.
  3785. */
  3786. xcb_generic_iterator_t
  3787. xcb_xkb_sa_lock_group_end (xcb_xkb_sa_lock_group_iterator_t i);
  3788. /**
  3789. * Get the next element of the iterator
  3790. * @param i Pointer to a xcb_xkb_sa_move_ptr_iterator_t
  3791. *
  3792. * Get the next element in the iterator. The member rem is
  3793. * decreased by one. The member data points to the next
  3794. * element. The member index is increased by sizeof(xcb_xkb_sa_move_ptr_t)
  3795. */
  3796. void
  3797. xcb_xkb_sa_move_ptr_next (xcb_xkb_sa_move_ptr_iterator_t *i);
  3798. /**
  3799. * Return the iterator pointing to the last element
  3800. * @param i An xcb_xkb_sa_move_ptr_iterator_t
  3801. * @return The iterator pointing to the last element
  3802. *
  3803. * Set the current element in the iterator to the last element.
  3804. * The member rem is set to 0. The member data points to the
  3805. * last element.
  3806. */
  3807. xcb_generic_iterator_t
  3808. xcb_xkb_sa_move_ptr_end (xcb_xkb_sa_move_ptr_iterator_t i);
  3809. /**
  3810. * Get the next element of the iterator
  3811. * @param i Pointer to a xcb_xkb_sa_ptr_btn_iterator_t
  3812. *
  3813. * Get the next element in the iterator. The member rem is
  3814. * decreased by one. The member data points to the next
  3815. * element. The member index is increased by sizeof(xcb_xkb_sa_ptr_btn_t)
  3816. */
  3817. void
  3818. xcb_xkb_sa_ptr_btn_next (xcb_xkb_sa_ptr_btn_iterator_t *i);
  3819. /**
  3820. * Return the iterator pointing to the last element
  3821. * @param i An xcb_xkb_sa_ptr_btn_iterator_t
  3822. * @return The iterator pointing to the last element
  3823. *
  3824. * Set the current element in the iterator to the last element.
  3825. * The member rem is set to 0. The member data points to the
  3826. * last element.
  3827. */
  3828. xcb_generic_iterator_t
  3829. xcb_xkb_sa_ptr_btn_end (xcb_xkb_sa_ptr_btn_iterator_t i);
  3830. /**
  3831. * Get the next element of the iterator
  3832. * @param i Pointer to a xcb_xkb_sa_lock_ptr_btn_iterator_t
  3833. *
  3834. * Get the next element in the iterator. The member rem is
  3835. * decreased by one. The member data points to the next
  3836. * element. The member index is increased by sizeof(xcb_xkb_sa_lock_ptr_btn_t)
  3837. */
  3838. void
  3839. xcb_xkb_sa_lock_ptr_btn_next (xcb_xkb_sa_lock_ptr_btn_iterator_t *i);
  3840. /**
  3841. * Return the iterator pointing to the last element
  3842. * @param i An xcb_xkb_sa_lock_ptr_btn_iterator_t
  3843. * @return The iterator pointing to the last element
  3844. *
  3845. * Set the current element in the iterator to the last element.
  3846. * The member rem is set to 0. The member data points to the
  3847. * last element.
  3848. */
  3849. xcb_generic_iterator_t
  3850. xcb_xkb_sa_lock_ptr_btn_end (xcb_xkb_sa_lock_ptr_btn_iterator_t i);
  3851. /**
  3852. * Get the next element of the iterator
  3853. * @param i Pointer to a xcb_xkb_sa_set_ptr_dflt_iterator_t
  3854. *
  3855. * Get the next element in the iterator. The member rem is
  3856. * decreased by one. The member data points to the next
  3857. * element. The member index is increased by sizeof(xcb_xkb_sa_set_ptr_dflt_t)
  3858. */
  3859. void
  3860. xcb_xkb_sa_set_ptr_dflt_next (xcb_xkb_sa_set_ptr_dflt_iterator_t *i);
  3861. /**
  3862. * Return the iterator pointing to the last element
  3863. * @param i An xcb_xkb_sa_set_ptr_dflt_iterator_t
  3864. * @return The iterator pointing to the last element
  3865. *
  3866. * Set the current element in the iterator to the last element.
  3867. * The member rem is set to 0. The member data points to the
  3868. * last element.
  3869. */
  3870. xcb_generic_iterator_t
  3871. xcb_xkb_sa_set_ptr_dflt_end (xcb_xkb_sa_set_ptr_dflt_iterator_t i);
  3872. /**
  3873. * Get the next element of the iterator
  3874. * @param i Pointer to a xcb_xkb_sa_iso_lock_iterator_t
  3875. *
  3876. * Get the next element in the iterator. The member rem is
  3877. * decreased by one. The member data points to the next
  3878. * element. The member index is increased by sizeof(xcb_xkb_sa_iso_lock_t)
  3879. */
  3880. void
  3881. xcb_xkb_sa_iso_lock_next (xcb_xkb_sa_iso_lock_iterator_t *i);
  3882. /**
  3883. * Return the iterator pointing to the last element
  3884. * @param i An xcb_xkb_sa_iso_lock_iterator_t
  3885. * @return The iterator pointing to the last element
  3886. *
  3887. * Set the current element in the iterator to the last element.
  3888. * The member rem is set to 0. The member data points to the
  3889. * last element.
  3890. */
  3891. xcb_generic_iterator_t
  3892. xcb_xkb_sa_iso_lock_end (xcb_xkb_sa_iso_lock_iterator_t i);
  3893. /**
  3894. * Get the next element of the iterator
  3895. * @param i Pointer to a xcb_xkb_sa_terminate_iterator_t
  3896. *
  3897. * Get the next element in the iterator. The member rem is
  3898. * decreased by one. The member data points to the next
  3899. * element. The member index is increased by sizeof(xcb_xkb_sa_terminate_t)
  3900. */
  3901. void
  3902. xcb_xkb_sa_terminate_next (xcb_xkb_sa_terminate_iterator_t *i);
  3903. /**
  3904. * Return the iterator pointing to the last element
  3905. * @param i An xcb_xkb_sa_terminate_iterator_t
  3906. * @return The iterator pointing to the last element
  3907. *
  3908. * Set the current element in the iterator to the last element.
  3909. * The member rem is set to 0. The member data points to the
  3910. * last element.
  3911. */
  3912. xcb_generic_iterator_t
  3913. xcb_xkb_sa_terminate_end (xcb_xkb_sa_terminate_iterator_t i);
  3914. /**
  3915. * Get the next element of the iterator
  3916. * @param i Pointer to a xcb_xkb_sa_switch_screen_iterator_t
  3917. *
  3918. * Get the next element in the iterator. The member rem is
  3919. * decreased by one. The member data points to the next
  3920. * element. The member index is increased by sizeof(xcb_xkb_sa_switch_screen_t)
  3921. */
  3922. void
  3923. xcb_xkb_sa_switch_screen_next (xcb_xkb_sa_switch_screen_iterator_t *i);
  3924. /**
  3925. * Return the iterator pointing to the last element
  3926. * @param i An xcb_xkb_sa_switch_screen_iterator_t
  3927. * @return The iterator pointing to the last element
  3928. *
  3929. * Set the current element in the iterator to the last element.
  3930. * The member rem is set to 0. The member data points to the
  3931. * last element.
  3932. */
  3933. xcb_generic_iterator_t
  3934. xcb_xkb_sa_switch_screen_end (xcb_xkb_sa_switch_screen_iterator_t i);
  3935. /**
  3936. * Get the next element of the iterator
  3937. * @param i Pointer to a xcb_xkb_sa_set_controls_iterator_t
  3938. *
  3939. * Get the next element in the iterator. The member rem is
  3940. * decreased by one. The member data points to the next
  3941. * element. The member index is increased by sizeof(xcb_xkb_sa_set_controls_t)
  3942. */
  3943. void
  3944. xcb_xkb_sa_set_controls_next (xcb_xkb_sa_set_controls_iterator_t *i);
  3945. /**
  3946. * Return the iterator pointing to the last element
  3947. * @param i An xcb_xkb_sa_set_controls_iterator_t
  3948. * @return The iterator pointing to the last element
  3949. *
  3950. * Set the current element in the iterator to the last element.
  3951. * The member rem is set to 0. The member data points to the
  3952. * last element.
  3953. */
  3954. xcb_generic_iterator_t
  3955. xcb_xkb_sa_set_controls_end (xcb_xkb_sa_set_controls_iterator_t i);
  3956. /**
  3957. * Get the next element of the iterator
  3958. * @param i Pointer to a xcb_xkb_sa_lock_controls_iterator_t
  3959. *
  3960. * Get the next element in the iterator. The member rem is
  3961. * decreased by one. The member data points to the next
  3962. * element. The member index is increased by sizeof(xcb_xkb_sa_lock_controls_t)
  3963. */
  3964. void
  3965. xcb_xkb_sa_lock_controls_next (xcb_xkb_sa_lock_controls_iterator_t *i);
  3966. /**
  3967. * Return the iterator pointing to the last element
  3968. * @param i An xcb_xkb_sa_lock_controls_iterator_t
  3969. * @return The iterator pointing to the last element
  3970. *
  3971. * Set the current element in the iterator to the last element.
  3972. * The member rem is set to 0. The member data points to the
  3973. * last element.
  3974. */
  3975. xcb_generic_iterator_t
  3976. xcb_xkb_sa_lock_controls_end (xcb_xkb_sa_lock_controls_iterator_t i);
  3977. /**
  3978. * Get the next element of the iterator
  3979. * @param i Pointer to a xcb_xkb_sa_action_message_iterator_t
  3980. *
  3981. * Get the next element in the iterator. The member rem is
  3982. * decreased by one. The member data points to the next
  3983. * element. The member index is increased by sizeof(xcb_xkb_sa_action_message_t)
  3984. */
  3985. void
  3986. xcb_xkb_sa_action_message_next (xcb_xkb_sa_action_message_iterator_t *i);
  3987. /**
  3988. * Return the iterator pointing to the last element
  3989. * @param i An xcb_xkb_sa_action_message_iterator_t
  3990. * @return The iterator pointing to the last element
  3991. *
  3992. * Set the current element in the iterator to the last element.
  3993. * The member rem is set to 0. The member data points to the
  3994. * last element.
  3995. */
  3996. xcb_generic_iterator_t
  3997. xcb_xkb_sa_action_message_end (xcb_xkb_sa_action_message_iterator_t i);
  3998. /**
  3999. * Get the next element of the iterator
  4000. * @param i Pointer to a xcb_xkb_sa_redirect_key_iterator_t
  4001. *
  4002. * Get the next element in the iterator. The member rem is
  4003. * decreased by one. The member data points to the next
  4004. * element. The member index is increased by sizeof(xcb_xkb_sa_redirect_key_t)
  4005. */
  4006. void
  4007. xcb_xkb_sa_redirect_key_next (xcb_xkb_sa_redirect_key_iterator_t *i);
  4008. /**
  4009. * Return the iterator pointing to the last element
  4010. * @param i An xcb_xkb_sa_redirect_key_iterator_t
  4011. * @return The iterator pointing to the last element
  4012. *
  4013. * Set the current element in the iterator to the last element.
  4014. * The member rem is set to 0. The member data points to the
  4015. * last element.
  4016. */
  4017. xcb_generic_iterator_t
  4018. xcb_xkb_sa_redirect_key_end (xcb_xkb_sa_redirect_key_iterator_t i);
  4019. /**
  4020. * Get the next element of the iterator
  4021. * @param i Pointer to a xcb_xkb_sa_device_btn_iterator_t
  4022. *
  4023. * Get the next element in the iterator. The member rem is
  4024. * decreased by one. The member data points to the next
  4025. * element. The member index is increased by sizeof(xcb_xkb_sa_device_btn_t)
  4026. */
  4027. void
  4028. xcb_xkb_sa_device_btn_next (xcb_xkb_sa_device_btn_iterator_t *i);
  4029. /**
  4030. * Return the iterator pointing to the last element
  4031. * @param i An xcb_xkb_sa_device_btn_iterator_t
  4032. * @return The iterator pointing to the last element
  4033. *
  4034. * Set the current element in the iterator to the last element.
  4035. * The member rem is set to 0. The member data points to the
  4036. * last element.
  4037. */
  4038. xcb_generic_iterator_t
  4039. xcb_xkb_sa_device_btn_end (xcb_xkb_sa_device_btn_iterator_t i);
  4040. /**
  4041. * Get the next element of the iterator
  4042. * @param i Pointer to a xcb_xkb_sa_lock_device_btn_iterator_t
  4043. *
  4044. * Get the next element in the iterator. The member rem is
  4045. * decreased by one. The member data points to the next
  4046. * element. The member index is increased by sizeof(xcb_xkb_sa_lock_device_btn_t)
  4047. */
  4048. void
  4049. xcb_xkb_sa_lock_device_btn_next (xcb_xkb_sa_lock_device_btn_iterator_t *i);
  4050. /**
  4051. * Return the iterator pointing to the last element
  4052. * @param i An xcb_xkb_sa_lock_device_btn_iterator_t
  4053. * @return The iterator pointing to the last element
  4054. *
  4055. * Set the current element in the iterator to the last element.
  4056. * The member rem is set to 0. The member data points to the
  4057. * last element.
  4058. */
  4059. xcb_generic_iterator_t
  4060. xcb_xkb_sa_lock_device_btn_end (xcb_xkb_sa_lock_device_btn_iterator_t i);
  4061. /**
  4062. * Get the next element of the iterator
  4063. * @param i Pointer to a xcb_xkb_sa_device_valuator_iterator_t
  4064. *
  4065. * Get the next element in the iterator. The member rem is
  4066. * decreased by one. The member data points to the next
  4067. * element. The member index is increased by sizeof(xcb_xkb_sa_device_valuator_t)
  4068. */
  4069. void
  4070. xcb_xkb_sa_device_valuator_next (xcb_xkb_sa_device_valuator_iterator_t *i);
  4071. /**
  4072. * Return the iterator pointing to the last element
  4073. * @param i An xcb_xkb_sa_device_valuator_iterator_t
  4074. * @return The iterator pointing to the last element
  4075. *
  4076. * Set the current element in the iterator to the last element.
  4077. * The member rem is set to 0. The member data points to the
  4078. * last element.
  4079. */
  4080. xcb_generic_iterator_t
  4081. xcb_xkb_sa_device_valuator_end (xcb_xkb_sa_device_valuator_iterator_t i);
  4082. /**
  4083. * Get the next element of the iterator
  4084. * @param i Pointer to a xcb_xkb_si_action_iterator_t
  4085. *
  4086. * Get the next element in the iterator. The member rem is
  4087. * decreased by one. The member data points to the next
  4088. * element. The member index is increased by sizeof(xcb_xkb_si_action_t)
  4089. */
  4090. void
  4091. xcb_xkb_si_action_next (xcb_xkb_si_action_iterator_t *i);
  4092. /**
  4093. * Return the iterator pointing to the last element
  4094. * @param i An xcb_xkb_si_action_iterator_t
  4095. * @return The iterator pointing to the last element
  4096. *
  4097. * Set the current element in the iterator to the last element.
  4098. * The member rem is set to 0. The member data points to the
  4099. * last element.
  4100. */
  4101. xcb_generic_iterator_t
  4102. xcb_xkb_si_action_end (xcb_xkb_si_action_iterator_t i);
  4103. /**
  4104. * Get the next element of the iterator
  4105. * @param i Pointer to a xcb_xkb_sym_interpret_iterator_t
  4106. *
  4107. * Get the next element in the iterator. The member rem is
  4108. * decreased by one. The member data points to the next
  4109. * element. The member index is increased by sizeof(xcb_xkb_sym_interpret_t)
  4110. */
  4111. void
  4112. xcb_xkb_sym_interpret_next (xcb_xkb_sym_interpret_iterator_t *i);
  4113. /**
  4114. * Return the iterator pointing to the last element
  4115. * @param i An xcb_xkb_sym_interpret_iterator_t
  4116. * @return The iterator pointing to the last element
  4117. *
  4118. * Set the current element in the iterator to the last element.
  4119. * The member rem is set to 0. The member data points to the
  4120. * last element.
  4121. */
  4122. xcb_generic_iterator_t
  4123. xcb_xkb_sym_interpret_end (xcb_xkb_sym_interpret_iterator_t i);
  4124. /**
  4125. * Get the next element of the iterator
  4126. * @param i Pointer to a xcb_xkb_action_iterator_t
  4127. *
  4128. * Get the next element in the iterator. The member rem is
  4129. * decreased by one. The member data points to the next
  4130. * element. The member index is increased by sizeof(xcb_xkb_action_t)
  4131. */
  4132. void
  4133. xcb_xkb_action_next (xcb_xkb_action_iterator_t *i);
  4134. /**
  4135. * Return the iterator pointing to the last element
  4136. * @param i An xcb_xkb_action_iterator_t
  4137. * @return The iterator pointing to the last element
  4138. *
  4139. * Set the current element in the iterator to the last element.
  4140. * The member rem is set to 0. The member data points to the
  4141. * last element.
  4142. */
  4143. xcb_generic_iterator_t
  4144. xcb_xkb_action_end (xcb_xkb_action_iterator_t i);
  4145. /**
  4146. *
  4147. * @param c The connection
  4148. * @return A cookie
  4149. *
  4150. * Delivers a request to the X server.
  4151. *
  4152. */
  4153. xcb_xkb_use_extension_cookie_t
  4154. xcb_xkb_use_extension (xcb_connection_t *c,
  4155. uint16_t wantedMajor,
  4156. uint16_t wantedMinor);
  4157. /**
  4158. *
  4159. * @param c The connection
  4160. * @return A cookie
  4161. *
  4162. * Delivers a request to the X server.
  4163. *
  4164. * This form can be used only if the request will cause
  4165. * a reply to be generated. Any returned error will be
  4166. * placed in the event queue.
  4167. */
  4168. xcb_xkb_use_extension_cookie_t
  4169. xcb_xkb_use_extension_unchecked (xcb_connection_t *c,
  4170. uint16_t wantedMajor,
  4171. uint16_t wantedMinor);
  4172. /**
  4173. * Return the reply
  4174. * @param c The connection
  4175. * @param cookie The cookie
  4176. * @param e The xcb_generic_error_t supplied
  4177. *
  4178. * Returns the reply of the request asked by
  4179. *
  4180. * The parameter @p e supplied to this function must be NULL if
  4181. * xcb_xkb_use_extension_unchecked(). is used.
  4182. * Otherwise, it stores the error if any.
  4183. *
  4184. * The returned value must be freed by the caller using free().
  4185. */
  4186. xcb_xkb_use_extension_reply_t *
  4187. xcb_xkb_use_extension_reply (xcb_connection_t *c,
  4188. xcb_xkb_use_extension_cookie_t cookie /**< */,
  4189. xcb_generic_error_t **e);
  4190. int
  4191. xcb_xkb_select_events_details_serialize (void **_buffer,
  4192. uint16_t affectWhich,
  4193. uint16_t clear,
  4194. uint16_t selectAll,
  4195. const xcb_xkb_select_events_details_t *_aux);
  4196. int
  4197. xcb_xkb_select_events_details_unpack (const void *_buffer,
  4198. uint16_t affectWhich,
  4199. uint16_t clear,
  4200. uint16_t selectAll,
  4201. xcb_xkb_select_events_details_t *_aux);
  4202. int
  4203. xcb_xkb_select_events_details_sizeof (const void *_buffer,
  4204. uint16_t affectWhich,
  4205. uint16_t clear,
  4206. uint16_t selectAll);
  4207. int
  4208. xcb_xkb_select_events_sizeof (const void *_buffer);
  4209. /**
  4210. *
  4211. * @param c The connection
  4212. * @return A cookie
  4213. *
  4214. * Delivers a request to the X server.
  4215. *
  4216. * This form can be used only if the request will not cause
  4217. * a reply to be generated. Any returned error will be
  4218. * saved for handling by xcb_request_check().
  4219. */
  4220. xcb_void_cookie_t
  4221. xcb_xkb_select_events_checked (xcb_connection_t *c,
  4222. xcb_xkb_device_spec_t deviceSpec,
  4223. uint16_t affectWhich,
  4224. uint16_t clear,
  4225. uint16_t selectAll,
  4226. uint16_t affectMap,
  4227. uint16_t map,
  4228. const void *details);
  4229. /**
  4230. *
  4231. * @param c The connection
  4232. * @return A cookie
  4233. *
  4234. * Delivers a request to the X server.
  4235. *
  4236. */
  4237. xcb_void_cookie_t
  4238. xcb_xkb_select_events (xcb_connection_t *c,
  4239. xcb_xkb_device_spec_t deviceSpec,
  4240. uint16_t affectWhich,
  4241. uint16_t clear,
  4242. uint16_t selectAll,
  4243. uint16_t affectMap,
  4244. uint16_t map,
  4245. const void *details);
  4246. /**
  4247. *
  4248. * @param c The connection
  4249. * @return A cookie
  4250. *
  4251. * Delivers a request to the X server.
  4252. *
  4253. * This form can be used only if the request will not cause
  4254. * a reply to be generated. Any returned error will be
  4255. * saved for handling by xcb_request_check().
  4256. */
  4257. xcb_void_cookie_t
  4258. xcb_xkb_select_events_aux_checked (xcb_connection_t *c,
  4259. xcb_xkb_device_spec_t deviceSpec,
  4260. uint16_t affectWhich,
  4261. uint16_t clear,
  4262. uint16_t selectAll,
  4263. uint16_t affectMap,
  4264. uint16_t map,
  4265. const xcb_xkb_select_events_details_t *details);
  4266. /**
  4267. *
  4268. * @param c The connection
  4269. * @return A cookie
  4270. *
  4271. * Delivers a request to the X server.
  4272. *
  4273. */
  4274. xcb_void_cookie_t
  4275. xcb_xkb_select_events_aux (xcb_connection_t *c,
  4276. xcb_xkb_device_spec_t deviceSpec,
  4277. uint16_t affectWhich,
  4278. uint16_t clear,
  4279. uint16_t selectAll,
  4280. uint16_t affectMap,
  4281. uint16_t map,
  4282. const xcb_xkb_select_events_details_t *details);
  4283. void *
  4284. xcb_xkb_select_events_details (const xcb_xkb_select_events_request_t *R);
  4285. /**
  4286. *
  4287. * @param c The connection
  4288. * @return A cookie
  4289. *
  4290. * Delivers a request to the X server.
  4291. *
  4292. * This form can be used only if the request will not cause
  4293. * a reply to be generated. Any returned error will be
  4294. * saved for handling by xcb_request_check().
  4295. */
  4296. xcb_void_cookie_t
  4297. xcb_xkb_bell_checked (xcb_connection_t *c,
  4298. xcb_xkb_device_spec_t deviceSpec,
  4299. xcb_xkb_bell_class_spec_t bellClass,
  4300. xcb_xkb_id_spec_t bellID,
  4301. int8_t percent,
  4302. uint8_t forceSound,
  4303. uint8_t eventOnly,
  4304. int16_t pitch,
  4305. int16_t duration,
  4306. xcb_atom_t name,
  4307. xcb_window_t window);
  4308. /**
  4309. *
  4310. * @param c The connection
  4311. * @return A cookie
  4312. *
  4313. * Delivers a request to the X server.
  4314. *
  4315. */
  4316. xcb_void_cookie_t
  4317. xcb_xkb_bell (xcb_connection_t *c,
  4318. xcb_xkb_device_spec_t deviceSpec,
  4319. xcb_xkb_bell_class_spec_t bellClass,
  4320. xcb_xkb_id_spec_t bellID,
  4321. int8_t percent,
  4322. uint8_t forceSound,
  4323. uint8_t eventOnly,
  4324. int16_t pitch,
  4325. int16_t duration,
  4326. xcb_atom_t name,
  4327. xcb_window_t window);
  4328. /**
  4329. *
  4330. * @param c The connection
  4331. * @return A cookie
  4332. *
  4333. * Delivers a request to the X server.
  4334. *
  4335. */
  4336. xcb_xkb_get_state_cookie_t
  4337. xcb_xkb_get_state (xcb_connection_t *c,
  4338. xcb_xkb_device_spec_t deviceSpec);
  4339. /**
  4340. *
  4341. * @param c The connection
  4342. * @return A cookie
  4343. *
  4344. * Delivers a request to the X server.
  4345. *
  4346. * This form can be used only if the request will cause
  4347. * a reply to be generated. Any returned error will be
  4348. * placed in the event queue.
  4349. */
  4350. xcb_xkb_get_state_cookie_t
  4351. xcb_xkb_get_state_unchecked (xcb_connection_t *c,
  4352. xcb_xkb_device_spec_t deviceSpec);
  4353. /**
  4354. * Return the reply
  4355. * @param c The connection
  4356. * @param cookie The cookie
  4357. * @param e The xcb_generic_error_t supplied
  4358. *
  4359. * Returns the reply of the request asked by
  4360. *
  4361. * The parameter @p e supplied to this function must be NULL if
  4362. * xcb_xkb_get_state_unchecked(). is used.
  4363. * Otherwise, it stores the error if any.
  4364. *
  4365. * The returned value must be freed by the caller using free().
  4366. */
  4367. xcb_xkb_get_state_reply_t *
  4368. xcb_xkb_get_state_reply (xcb_connection_t *c,
  4369. xcb_xkb_get_state_cookie_t cookie /**< */,
  4370. xcb_generic_error_t **e);
  4371. /**
  4372. *
  4373. * @param c The connection
  4374. * @return A cookie
  4375. *
  4376. * Delivers a request to the X server.
  4377. *
  4378. * This form can be used only if the request will not cause
  4379. * a reply to be generated. Any returned error will be
  4380. * saved for handling by xcb_request_check().
  4381. */
  4382. xcb_void_cookie_t
  4383. xcb_xkb_latch_lock_state_checked (xcb_connection_t *c,
  4384. xcb_xkb_device_spec_t deviceSpec,
  4385. uint8_t affectModLocks,
  4386. uint8_t modLocks,
  4387. uint8_t lockGroup,
  4388. uint8_t groupLock,
  4389. uint8_t affectModLatches,
  4390. uint8_t latchGroup,
  4391. uint16_t groupLatch);
  4392. /**
  4393. *
  4394. * @param c The connection
  4395. * @return A cookie
  4396. *
  4397. * Delivers a request to the X server.
  4398. *
  4399. */
  4400. xcb_void_cookie_t
  4401. xcb_xkb_latch_lock_state (xcb_connection_t *c,
  4402. xcb_xkb_device_spec_t deviceSpec,
  4403. uint8_t affectModLocks,
  4404. uint8_t modLocks,
  4405. uint8_t lockGroup,
  4406. uint8_t groupLock,
  4407. uint8_t affectModLatches,
  4408. uint8_t latchGroup,
  4409. uint16_t groupLatch);
  4410. /**
  4411. *
  4412. * @param c The connection
  4413. * @return A cookie
  4414. *
  4415. * Delivers a request to the X server.
  4416. *
  4417. */
  4418. xcb_xkb_get_controls_cookie_t
  4419. xcb_xkb_get_controls (xcb_connection_t *c,
  4420. xcb_xkb_device_spec_t deviceSpec);
  4421. /**
  4422. *
  4423. * @param c The connection
  4424. * @return A cookie
  4425. *
  4426. * Delivers a request to the X server.
  4427. *
  4428. * This form can be used only if the request will cause
  4429. * a reply to be generated. Any returned error will be
  4430. * placed in the event queue.
  4431. */
  4432. xcb_xkb_get_controls_cookie_t
  4433. xcb_xkb_get_controls_unchecked (xcb_connection_t *c,
  4434. xcb_xkb_device_spec_t deviceSpec);
  4435. /**
  4436. * Return the reply
  4437. * @param c The connection
  4438. * @param cookie The cookie
  4439. * @param e The xcb_generic_error_t supplied
  4440. *
  4441. * Returns the reply of the request asked by
  4442. *
  4443. * The parameter @p e supplied to this function must be NULL if
  4444. * xcb_xkb_get_controls_unchecked(). is used.
  4445. * Otherwise, it stores the error if any.
  4446. *
  4447. * The returned value must be freed by the caller using free().
  4448. */
  4449. xcb_xkb_get_controls_reply_t *
  4450. xcb_xkb_get_controls_reply (xcb_connection_t *c,
  4451. xcb_xkb_get_controls_cookie_t cookie /**< */,
  4452. xcb_generic_error_t **e);
  4453. /**
  4454. *
  4455. * @param c The connection
  4456. * @return A cookie
  4457. *
  4458. * Delivers a request to the X server.
  4459. *
  4460. * This form can be used only if the request will not cause
  4461. * a reply to be generated. Any returned error will be
  4462. * saved for handling by xcb_request_check().
  4463. */
  4464. xcb_void_cookie_t
  4465. xcb_xkb_set_controls_checked (xcb_connection_t *c,
  4466. xcb_xkb_device_spec_t deviceSpec,
  4467. uint8_t affectInternalRealMods,
  4468. uint8_t internalRealMods,
  4469. uint8_t affectIgnoreLockRealMods,
  4470. uint8_t ignoreLockRealMods,
  4471. uint16_t affectInternalVirtualMods,
  4472. uint16_t internalVirtualMods,
  4473. uint16_t affectIgnoreLockVirtualMods,
  4474. uint16_t ignoreLockVirtualMods,
  4475. uint8_t mouseKeysDfltBtn,
  4476. uint8_t groupsWrap,
  4477. uint16_t accessXOptions,
  4478. uint32_t affectEnabledControls,
  4479. uint32_t enabledControls,
  4480. uint32_t changeControls,
  4481. uint16_t repeatDelay,
  4482. uint16_t repeatInterval,
  4483. uint16_t slowKeysDelay,
  4484. uint16_t debounceDelay,
  4485. uint16_t mouseKeysDelay,
  4486. uint16_t mouseKeysInterval,
  4487. uint16_t mouseKeysTimeToMax,
  4488. uint16_t mouseKeysMaxSpeed,
  4489. int16_t mouseKeysCurve,
  4490. uint16_t accessXTimeout,
  4491. uint32_t accessXTimeoutMask,
  4492. uint32_t accessXTimeoutValues,
  4493. uint16_t accessXTimeoutOptionsMask,
  4494. uint16_t accessXTimeoutOptionsValues,
  4495. const uint8_t *perKeyRepeat);
  4496. /**
  4497. *
  4498. * @param c The connection
  4499. * @return A cookie
  4500. *
  4501. * Delivers a request to the X server.
  4502. *
  4503. */
  4504. xcb_void_cookie_t
  4505. xcb_xkb_set_controls (xcb_connection_t *c,
  4506. xcb_xkb_device_spec_t deviceSpec,
  4507. uint8_t affectInternalRealMods,
  4508. uint8_t internalRealMods,
  4509. uint8_t affectIgnoreLockRealMods,
  4510. uint8_t ignoreLockRealMods,
  4511. uint16_t affectInternalVirtualMods,
  4512. uint16_t internalVirtualMods,
  4513. uint16_t affectIgnoreLockVirtualMods,
  4514. uint16_t ignoreLockVirtualMods,
  4515. uint8_t mouseKeysDfltBtn,
  4516. uint8_t groupsWrap,
  4517. uint16_t accessXOptions,
  4518. uint32_t affectEnabledControls,
  4519. uint32_t enabledControls,
  4520. uint32_t changeControls,
  4521. uint16_t repeatDelay,
  4522. uint16_t repeatInterval,
  4523. uint16_t slowKeysDelay,
  4524. uint16_t debounceDelay,
  4525. uint16_t mouseKeysDelay,
  4526. uint16_t mouseKeysInterval,
  4527. uint16_t mouseKeysTimeToMax,
  4528. uint16_t mouseKeysMaxSpeed,
  4529. int16_t mouseKeysCurve,
  4530. uint16_t accessXTimeout,
  4531. uint32_t accessXTimeoutMask,
  4532. uint32_t accessXTimeoutValues,
  4533. uint16_t accessXTimeoutOptionsMask,
  4534. uint16_t accessXTimeoutOptionsValues,
  4535. const uint8_t *perKeyRepeat);
  4536. int
  4537. xcb_xkb_get_map_map_types_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4538. const xcb_xkb_get_map_map_t *S);
  4539. xcb_xkb_key_type_iterator_t
  4540. xcb_xkb_get_map_map_types_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
  4541. const xcb_xkb_get_map_map_t *S);
  4542. int
  4543. xcb_xkb_get_map_map_syms_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4544. const xcb_xkb_get_map_map_t *S);
  4545. xcb_xkb_key_sym_map_iterator_t
  4546. xcb_xkb_get_map_map_syms_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
  4547. const xcb_xkb_get_map_map_t *S);
  4548. uint8_t *
  4549. xcb_xkb_get_map_map_acts_rtrn_count (const xcb_xkb_get_map_map_t *S);
  4550. int
  4551. xcb_xkb_get_map_map_acts_rtrn_count_length (const xcb_xkb_get_map_reply_t *R,
  4552. const xcb_xkb_get_map_map_t *S);
  4553. xcb_generic_iterator_t
  4554. xcb_xkb_get_map_map_acts_rtrn_count_end (const xcb_xkb_get_map_reply_t *R,
  4555. const xcb_xkb_get_map_map_t *S);
  4556. xcb_xkb_action_t *
  4557. xcb_xkb_get_map_map_acts_rtrn_acts (const xcb_xkb_get_map_map_t *S);
  4558. int
  4559. xcb_xkb_get_map_map_acts_rtrn_acts_length (const xcb_xkb_get_map_reply_t *R,
  4560. const xcb_xkb_get_map_map_t *S);
  4561. xcb_xkb_action_iterator_t
  4562. xcb_xkb_get_map_map_acts_rtrn_acts_iterator (const xcb_xkb_get_map_reply_t *R,
  4563. const xcb_xkb_get_map_map_t *S);
  4564. xcb_xkb_set_behavior_t *
  4565. xcb_xkb_get_map_map_behaviors_rtrn (const xcb_xkb_get_map_map_t *S);
  4566. int
  4567. xcb_xkb_get_map_map_behaviors_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4568. const xcb_xkb_get_map_map_t *S);
  4569. xcb_xkb_set_behavior_iterator_t
  4570. xcb_xkb_get_map_map_behaviors_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
  4571. const xcb_xkb_get_map_map_t *S);
  4572. uint8_t *
  4573. xcb_xkb_get_map_map_vmods_rtrn (const xcb_xkb_get_map_map_t *S);
  4574. int
  4575. xcb_xkb_get_map_map_vmods_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4576. const xcb_xkb_get_map_map_t *S);
  4577. xcb_generic_iterator_t
  4578. xcb_xkb_get_map_map_vmods_rtrn_end (const xcb_xkb_get_map_reply_t *R,
  4579. const xcb_xkb_get_map_map_t *S);
  4580. xcb_xkb_set_explicit_t *
  4581. xcb_xkb_get_map_map_explicit_rtrn (const xcb_xkb_get_map_map_t *S);
  4582. int
  4583. xcb_xkb_get_map_map_explicit_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4584. const xcb_xkb_get_map_map_t *S);
  4585. xcb_xkb_set_explicit_iterator_t
  4586. xcb_xkb_get_map_map_explicit_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
  4587. const xcb_xkb_get_map_map_t *S);
  4588. xcb_xkb_key_mod_map_t *
  4589. xcb_xkb_get_map_map_modmap_rtrn (const xcb_xkb_get_map_map_t *S);
  4590. int
  4591. xcb_xkb_get_map_map_modmap_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4592. const xcb_xkb_get_map_map_t *S);
  4593. xcb_xkb_key_mod_map_iterator_t
  4594. xcb_xkb_get_map_map_modmap_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
  4595. const xcb_xkb_get_map_map_t *S);
  4596. xcb_xkb_key_v_mod_map_t *
  4597. xcb_xkb_get_map_map_vmodmap_rtrn (const xcb_xkb_get_map_map_t *S);
  4598. int
  4599. xcb_xkb_get_map_map_vmodmap_rtrn_length (const xcb_xkb_get_map_reply_t *R,
  4600. const xcb_xkb_get_map_map_t *S);
  4601. xcb_xkb_key_v_mod_map_iterator_t
  4602. xcb_xkb_get_map_map_vmodmap_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
  4603. const xcb_xkb_get_map_map_t *S);
  4604. int
  4605. xcb_xkb_get_map_map_serialize (void **_buffer,
  4606. uint8_t nTypes,
  4607. uint8_t nKeySyms,
  4608. uint8_t nKeyActions,
  4609. uint16_t totalActions,
  4610. uint8_t totalKeyBehaviors,
  4611. uint16_t virtualMods,
  4612. uint8_t totalKeyExplicit,
  4613. uint8_t totalModMapKeys,
  4614. uint8_t totalVModMapKeys,
  4615. uint16_t present,
  4616. const xcb_xkb_get_map_map_t *_aux);
  4617. int
  4618. xcb_xkb_get_map_map_unpack (const void *_buffer,
  4619. uint8_t nTypes,
  4620. uint8_t nKeySyms,
  4621. uint8_t nKeyActions,
  4622. uint16_t totalActions,
  4623. uint8_t totalKeyBehaviors,
  4624. uint16_t virtualMods,
  4625. uint8_t totalKeyExplicit,
  4626. uint8_t totalModMapKeys,
  4627. uint8_t totalVModMapKeys,
  4628. uint16_t present,
  4629. xcb_xkb_get_map_map_t *_aux);
  4630. int
  4631. xcb_xkb_get_map_map_sizeof (const void *_buffer,
  4632. uint8_t nTypes,
  4633. uint8_t nKeySyms,
  4634. uint8_t nKeyActions,
  4635. uint16_t totalActions,
  4636. uint8_t totalKeyBehaviors,
  4637. uint16_t virtualMods,
  4638. uint8_t totalKeyExplicit,
  4639. uint8_t totalModMapKeys,
  4640. uint8_t totalVModMapKeys,
  4641. uint16_t present);
  4642. int
  4643. xcb_xkb_get_map_sizeof (const void *_buffer);
  4644. /**
  4645. *
  4646. * @param c The connection
  4647. * @return A cookie
  4648. *
  4649. * Delivers a request to the X server.
  4650. *
  4651. */
  4652. xcb_xkb_get_map_cookie_t
  4653. xcb_xkb_get_map (xcb_connection_t *c,
  4654. xcb_xkb_device_spec_t deviceSpec,
  4655. uint16_t full,
  4656. uint16_t partial,
  4657. uint8_t firstType,
  4658. uint8_t nTypes,
  4659. xcb_keycode_t firstKeySym,
  4660. uint8_t nKeySyms,
  4661. xcb_keycode_t firstKeyAction,
  4662. uint8_t nKeyActions,
  4663. xcb_keycode_t firstKeyBehavior,
  4664. uint8_t nKeyBehaviors,
  4665. uint16_t virtualMods,
  4666. xcb_keycode_t firstKeyExplicit,
  4667. uint8_t nKeyExplicit,
  4668. xcb_keycode_t firstModMapKey,
  4669. uint8_t nModMapKeys,
  4670. xcb_keycode_t firstVModMapKey,
  4671. uint8_t nVModMapKeys);
  4672. /**
  4673. *
  4674. * @param c The connection
  4675. * @return A cookie
  4676. *
  4677. * Delivers a request to the X server.
  4678. *
  4679. * This form can be used only if the request will cause
  4680. * a reply to be generated. Any returned error will be
  4681. * placed in the event queue.
  4682. */
  4683. xcb_xkb_get_map_cookie_t
  4684. xcb_xkb_get_map_unchecked (xcb_connection_t *c,
  4685. xcb_xkb_device_spec_t deviceSpec,
  4686. uint16_t full,
  4687. uint16_t partial,
  4688. uint8_t firstType,
  4689. uint8_t nTypes,
  4690. xcb_keycode_t firstKeySym,
  4691. uint8_t nKeySyms,
  4692. xcb_keycode_t firstKeyAction,
  4693. uint8_t nKeyActions,
  4694. xcb_keycode_t firstKeyBehavior,
  4695. uint8_t nKeyBehaviors,
  4696. uint16_t virtualMods,
  4697. xcb_keycode_t firstKeyExplicit,
  4698. uint8_t nKeyExplicit,
  4699. xcb_keycode_t firstModMapKey,
  4700. uint8_t nModMapKeys,
  4701. xcb_keycode_t firstVModMapKey,
  4702. uint8_t nVModMapKeys);
  4703. void *
  4704. xcb_xkb_get_map_map (const xcb_xkb_get_map_reply_t *R);
  4705. /**
  4706. * Return the reply
  4707. * @param c The connection
  4708. * @param cookie The cookie
  4709. * @param e The xcb_generic_error_t supplied
  4710. *
  4711. * Returns the reply of the request asked by
  4712. *
  4713. * The parameter @p e supplied to this function must be NULL if
  4714. * xcb_xkb_get_map_unchecked(). is used.
  4715. * Otherwise, it stores the error if any.
  4716. *
  4717. * The returned value must be freed by the caller using free().
  4718. */
  4719. xcb_xkb_get_map_reply_t *
  4720. xcb_xkb_get_map_reply (xcb_connection_t *c,
  4721. xcb_xkb_get_map_cookie_t cookie /**< */,
  4722. xcb_generic_error_t **e);
  4723. int
  4724. xcb_xkb_set_map_values_types_length (const xcb_xkb_set_map_request_t *R,
  4725. const xcb_xkb_set_map_values_t *S);
  4726. xcb_xkb_set_key_type_iterator_t
  4727. xcb_xkb_set_map_values_types_iterator (const xcb_xkb_set_map_request_t *R,
  4728. const xcb_xkb_set_map_values_t *S);
  4729. int
  4730. xcb_xkb_set_map_values_syms_length (const xcb_xkb_set_map_request_t *R,
  4731. const xcb_xkb_set_map_values_t *S);
  4732. xcb_xkb_key_sym_map_iterator_t
  4733. xcb_xkb_set_map_values_syms_iterator (const xcb_xkb_set_map_request_t *R,
  4734. const xcb_xkb_set_map_values_t *S);
  4735. uint8_t *
  4736. xcb_xkb_set_map_values_actions_count (const xcb_xkb_set_map_values_t *S);
  4737. int
  4738. xcb_xkb_set_map_values_actions_count_length (const xcb_xkb_set_map_request_t *R,
  4739. const xcb_xkb_set_map_values_t *S);
  4740. xcb_generic_iterator_t
  4741. xcb_xkb_set_map_values_actions_count_end (const xcb_xkb_set_map_request_t *R,
  4742. const xcb_xkb_set_map_values_t *S);
  4743. xcb_xkb_action_t *
  4744. xcb_xkb_set_map_values_actions (const xcb_xkb_set_map_values_t *S);
  4745. int
  4746. xcb_xkb_set_map_values_actions_length (const xcb_xkb_set_map_request_t *R,
  4747. const xcb_xkb_set_map_values_t *S);
  4748. xcb_xkb_action_iterator_t
  4749. xcb_xkb_set_map_values_actions_iterator (const xcb_xkb_set_map_request_t *R,
  4750. const xcb_xkb_set_map_values_t *S);
  4751. xcb_xkb_set_behavior_t *
  4752. xcb_xkb_set_map_values_behaviors (const xcb_xkb_set_map_values_t *S);
  4753. int
  4754. xcb_xkb_set_map_values_behaviors_length (const xcb_xkb_set_map_request_t *R,
  4755. const xcb_xkb_set_map_values_t *S);
  4756. xcb_xkb_set_behavior_iterator_t
  4757. xcb_xkb_set_map_values_behaviors_iterator (const xcb_xkb_set_map_request_t *R,
  4758. const xcb_xkb_set_map_values_t *S);
  4759. uint8_t *
  4760. xcb_xkb_set_map_values_vmods (const xcb_xkb_set_map_values_t *S);
  4761. int
  4762. xcb_xkb_set_map_values_vmods_length (const xcb_xkb_set_map_request_t *R,
  4763. const xcb_xkb_set_map_values_t *S);
  4764. xcb_generic_iterator_t
  4765. xcb_xkb_set_map_values_vmods_end (const xcb_xkb_set_map_request_t *R,
  4766. const xcb_xkb_set_map_values_t *S);
  4767. xcb_xkb_set_explicit_t *
  4768. xcb_xkb_set_map_values_explicit (const xcb_xkb_set_map_values_t *S);
  4769. int
  4770. xcb_xkb_set_map_values_explicit_length (const xcb_xkb_set_map_request_t *R,
  4771. const xcb_xkb_set_map_values_t *S);
  4772. xcb_xkb_set_explicit_iterator_t
  4773. xcb_xkb_set_map_values_explicit_iterator (const xcb_xkb_set_map_request_t *R,
  4774. const xcb_xkb_set_map_values_t *S);
  4775. xcb_xkb_key_mod_map_t *
  4776. xcb_xkb_set_map_values_modmap (const xcb_xkb_set_map_values_t *S);
  4777. int
  4778. xcb_xkb_set_map_values_modmap_length (const xcb_xkb_set_map_request_t *R,
  4779. const xcb_xkb_set_map_values_t *S);
  4780. xcb_xkb_key_mod_map_iterator_t
  4781. xcb_xkb_set_map_values_modmap_iterator (const xcb_xkb_set_map_request_t *R,
  4782. const xcb_xkb_set_map_values_t *S);
  4783. xcb_xkb_key_v_mod_map_t *
  4784. xcb_xkb_set_map_values_vmodmap (const xcb_xkb_set_map_values_t *S);
  4785. int
  4786. xcb_xkb_set_map_values_vmodmap_length (const xcb_xkb_set_map_request_t *R,
  4787. const xcb_xkb_set_map_values_t *S);
  4788. xcb_xkb_key_v_mod_map_iterator_t
  4789. xcb_xkb_set_map_values_vmodmap_iterator (const xcb_xkb_set_map_request_t *R,
  4790. const xcb_xkb_set_map_values_t *S);
  4791. int
  4792. xcb_xkb_set_map_values_serialize (void **_buffer,
  4793. uint8_t nTypes,
  4794. uint8_t nKeySyms,
  4795. uint8_t nKeyActions,
  4796. uint16_t totalActions,
  4797. uint8_t totalKeyBehaviors,
  4798. uint16_t virtualMods,
  4799. uint8_t totalKeyExplicit,
  4800. uint8_t totalModMapKeys,
  4801. uint8_t totalVModMapKeys,
  4802. uint16_t present,
  4803. const xcb_xkb_set_map_values_t *_aux);
  4804. int
  4805. xcb_xkb_set_map_values_unpack (const void *_buffer,
  4806. uint8_t nTypes,
  4807. uint8_t nKeySyms,
  4808. uint8_t nKeyActions,
  4809. uint16_t totalActions,
  4810. uint8_t totalKeyBehaviors,
  4811. uint16_t virtualMods,
  4812. uint8_t totalKeyExplicit,
  4813. uint8_t totalModMapKeys,
  4814. uint8_t totalVModMapKeys,
  4815. uint16_t present,
  4816. xcb_xkb_set_map_values_t *_aux);
  4817. int
  4818. xcb_xkb_set_map_values_sizeof (const void *_buffer,
  4819. uint8_t nTypes,
  4820. uint8_t nKeySyms,
  4821. uint8_t nKeyActions,
  4822. uint16_t totalActions,
  4823. uint8_t totalKeyBehaviors,
  4824. uint16_t virtualMods,
  4825. uint8_t totalKeyExplicit,
  4826. uint8_t totalModMapKeys,
  4827. uint8_t totalVModMapKeys,
  4828. uint16_t present);
  4829. int
  4830. xcb_xkb_set_map_sizeof (const void *_buffer);
  4831. /**
  4832. *
  4833. * @param c The connection
  4834. * @return A cookie
  4835. *
  4836. * Delivers a request to the X server.
  4837. *
  4838. * This form can be used only if the request will not cause
  4839. * a reply to be generated. Any returned error will be
  4840. * saved for handling by xcb_request_check().
  4841. */
  4842. xcb_void_cookie_t
  4843. xcb_xkb_set_map_checked (xcb_connection_t *c,
  4844. xcb_xkb_device_spec_t deviceSpec,
  4845. uint16_t present,
  4846. uint16_t flags,
  4847. xcb_keycode_t minKeyCode,
  4848. xcb_keycode_t maxKeyCode,
  4849. uint8_t firstType,
  4850. uint8_t nTypes,
  4851. xcb_keycode_t firstKeySym,
  4852. uint8_t nKeySyms,
  4853. uint16_t totalSyms,
  4854. xcb_keycode_t firstKeyAction,
  4855. uint8_t nKeyActions,
  4856. uint16_t totalActions,
  4857. xcb_keycode_t firstKeyBehavior,
  4858. uint8_t nKeyBehaviors,
  4859. uint8_t totalKeyBehaviors,
  4860. xcb_keycode_t firstKeyExplicit,
  4861. uint8_t nKeyExplicit,
  4862. uint8_t totalKeyExplicit,
  4863. xcb_keycode_t firstModMapKey,
  4864. uint8_t nModMapKeys,
  4865. uint8_t totalModMapKeys,
  4866. xcb_keycode_t firstVModMapKey,
  4867. uint8_t nVModMapKeys,
  4868. uint8_t totalVModMapKeys,
  4869. uint16_t virtualMods,
  4870. const void *values);
  4871. /**
  4872. *
  4873. * @param c The connection
  4874. * @return A cookie
  4875. *
  4876. * Delivers a request to the X server.
  4877. *
  4878. */
  4879. xcb_void_cookie_t
  4880. xcb_xkb_set_map (xcb_connection_t *c,
  4881. xcb_xkb_device_spec_t deviceSpec,
  4882. uint16_t present,
  4883. uint16_t flags,
  4884. xcb_keycode_t minKeyCode,
  4885. xcb_keycode_t maxKeyCode,
  4886. uint8_t firstType,
  4887. uint8_t nTypes,
  4888. xcb_keycode_t firstKeySym,
  4889. uint8_t nKeySyms,
  4890. uint16_t totalSyms,
  4891. xcb_keycode_t firstKeyAction,
  4892. uint8_t nKeyActions,
  4893. uint16_t totalActions,
  4894. xcb_keycode_t firstKeyBehavior,
  4895. uint8_t nKeyBehaviors,
  4896. uint8_t totalKeyBehaviors,
  4897. xcb_keycode_t firstKeyExplicit,
  4898. uint8_t nKeyExplicit,
  4899. uint8_t totalKeyExplicit,
  4900. xcb_keycode_t firstModMapKey,
  4901. uint8_t nModMapKeys,
  4902. uint8_t totalModMapKeys,
  4903. xcb_keycode_t firstVModMapKey,
  4904. uint8_t nVModMapKeys,
  4905. uint8_t totalVModMapKeys,
  4906. uint16_t virtualMods,
  4907. const void *values);
  4908. /**
  4909. *
  4910. * @param c The connection
  4911. * @return A cookie
  4912. *
  4913. * Delivers a request to the X server.
  4914. *
  4915. * This form can be used only if the request will not cause
  4916. * a reply to be generated. Any returned error will be
  4917. * saved for handling by xcb_request_check().
  4918. */
  4919. xcb_void_cookie_t
  4920. xcb_xkb_set_map_aux_checked (xcb_connection_t *c,
  4921. xcb_xkb_device_spec_t deviceSpec,
  4922. uint16_t present,
  4923. uint16_t flags,
  4924. xcb_keycode_t minKeyCode,
  4925. xcb_keycode_t maxKeyCode,
  4926. uint8_t firstType,
  4927. uint8_t nTypes,
  4928. xcb_keycode_t firstKeySym,
  4929. uint8_t nKeySyms,
  4930. uint16_t totalSyms,
  4931. xcb_keycode_t firstKeyAction,
  4932. uint8_t nKeyActions,
  4933. uint16_t totalActions,
  4934. xcb_keycode_t firstKeyBehavior,
  4935. uint8_t nKeyBehaviors,
  4936. uint8_t totalKeyBehaviors,
  4937. xcb_keycode_t firstKeyExplicit,
  4938. uint8_t nKeyExplicit,
  4939. uint8_t totalKeyExplicit,
  4940. xcb_keycode_t firstModMapKey,
  4941. uint8_t nModMapKeys,
  4942. uint8_t totalModMapKeys,
  4943. xcb_keycode_t firstVModMapKey,
  4944. uint8_t nVModMapKeys,
  4945. uint8_t totalVModMapKeys,
  4946. uint16_t virtualMods,
  4947. const xcb_xkb_set_map_values_t *values);
  4948. /**
  4949. *
  4950. * @param c The connection
  4951. * @return A cookie
  4952. *
  4953. * Delivers a request to the X server.
  4954. *
  4955. */
  4956. xcb_void_cookie_t
  4957. xcb_xkb_set_map_aux (xcb_connection_t *c,
  4958. xcb_xkb_device_spec_t deviceSpec,
  4959. uint16_t present,
  4960. uint16_t flags,
  4961. xcb_keycode_t minKeyCode,
  4962. xcb_keycode_t maxKeyCode,
  4963. uint8_t firstType,
  4964. uint8_t nTypes,
  4965. xcb_keycode_t firstKeySym,
  4966. uint8_t nKeySyms,
  4967. uint16_t totalSyms,
  4968. xcb_keycode_t firstKeyAction,
  4969. uint8_t nKeyActions,
  4970. uint16_t totalActions,
  4971. xcb_keycode_t firstKeyBehavior,
  4972. uint8_t nKeyBehaviors,
  4973. uint8_t totalKeyBehaviors,
  4974. xcb_keycode_t firstKeyExplicit,
  4975. uint8_t nKeyExplicit,
  4976. uint8_t totalKeyExplicit,
  4977. xcb_keycode_t firstModMapKey,
  4978. uint8_t nModMapKeys,
  4979. uint8_t totalModMapKeys,
  4980. xcb_keycode_t firstVModMapKey,
  4981. uint8_t nVModMapKeys,
  4982. uint8_t totalVModMapKeys,
  4983. uint16_t virtualMods,
  4984. const xcb_xkb_set_map_values_t *values);
  4985. void *
  4986. xcb_xkb_set_map_values (const xcb_xkb_set_map_request_t *R);
  4987. int
  4988. xcb_xkb_get_compat_map_sizeof (const void *_buffer);
  4989. /**
  4990. *
  4991. * @param c The connection
  4992. * @return A cookie
  4993. *
  4994. * Delivers a request to the X server.
  4995. *
  4996. */
  4997. xcb_xkb_get_compat_map_cookie_t
  4998. xcb_xkb_get_compat_map (xcb_connection_t *c,
  4999. xcb_xkb_device_spec_t deviceSpec,
  5000. uint8_t groups,
  5001. uint8_t getAllSI,
  5002. uint16_t firstSI,
  5003. uint16_t nSI);
  5004. /**
  5005. *
  5006. * @param c The connection
  5007. * @return A cookie
  5008. *
  5009. * Delivers a request to the X server.
  5010. *
  5011. * This form can be used only if the request will cause
  5012. * a reply to be generated. Any returned error will be
  5013. * placed in the event queue.
  5014. */
  5015. xcb_xkb_get_compat_map_cookie_t
  5016. xcb_xkb_get_compat_map_unchecked (xcb_connection_t *c,
  5017. xcb_xkb_device_spec_t deviceSpec,
  5018. uint8_t groups,
  5019. uint8_t getAllSI,
  5020. uint16_t firstSI,
  5021. uint16_t nSI);
  5022. xcb_xkb_sym_interpret_t *
  5023. xcb_xkb_get_compat_map_si_rtrn (const xcb_xkb_get_compat_map_reply_t *R);
  5024. int
  5025. xcb_xkb_get_compat_map_si_rtrn_length (const xcb_xkb_get_compat_map_reply_t *R);
  5026. xcb_xkb_sym_interpret_iterator_t
  5027. xcb_xkb_get_compat_map_si_rtrn_iterator (const xcb_xkb_get_compat_map_reply_t *R);
  5028. xcb_xkb_mod_def_t *
  5029. xcb_xkb_get_compat_map_group_rtrn (const xcb_xkb_get_compat_map_reply_t *R);
  5030. int
  5031. xcb_xkb_get_compat_map_group_rtrn_length (const xcb_xkb_get_compat_map_reply_t *R);
  5032. xcb_xkb_mod_def_iterator_t
  5033. xcb_xkb_get_compat_map_group_rtrn_iterator (const xcb_xkb_get_compat_map_reply_t *R);
  5034. /**
  5035. * Return the reply
  5036. * @param c The connection
  5037. * @param cookie The cookie
  5038. * @param e The xcb_generic_error_t supplied
  5039. *
  5040. * Returns the reply of the request asked by
  5041. *
  5042. * The parameter @p e supplied to this function must be NULL if
  5043. * xcb_xkb_get_compat_map_unchecked(). is used.
  5044. * Otherwise, it stores the error if any.
  5045. *
  5046. * The returned value must be freed by the caller using free().
  5047. */
  5048. xcb_xkb_get_compat_map_reply_t *
  5049. xcb_xkb_get_compat_map_reply (xcb_connection_t *c,
  5050. xcb_xkb_get_compat_map_cookie_t cookie /**< */,
  5051. xcb_generic_error_t **e);
  5052. int
  5053. xcb_xkb_set_compat_map_sizeof (const void *_buffer);
  5054. /**
  5055. *
  5056. * @param c The connection
  5057. * @return A cookie
  5058. *
  5059. * Delivers a request to the X server.
  5060. *
  5061. * This form can be used only if the request will not cause
  5062. * a reply to be generated. Any returned error will be
  5063. * saved for handling by xcb_request_check().
  5064. */
  5065. xcb_void_cookie_t
  5066. xcb_xkb_set_compat_map_checked (xcb_connection_t *c,
  5067. xcb_xkb_device_spec_t deviceSpec,
  5068. uint8_t recomputeActions,
  5069. uint8_t truncateSI,
  5070. uint8_t groups,
  5071. uint16_t firstSI,
  5072. uint16_t nSI,
  5073. const xcb_xkb_sym_interpret_t *si,
  5074. const xcb_xkb_mod_def_t *groupMaps);
  5075. /**
  5076. *
  5077. * @param c The connection
  5078. * @return A cookie
  5079. *
  5080. * Delivers a request to the X server.
  5081. *
  5082. */
  5083. xcb_void_cookie_t
  5084. xcb_xkb_set_compat_map (xcb_connection_t *c,
  5085. xcb_xkb_device_spec_t deviceSpec,
  5086. uint8_t recomputeActions,
  5087. uint8_t truncateSI,
  5088. uint8_t groups,
  5089. uint16_t firstSI,
  5090. uint16_t nSI,
  5091. const xcb_xkb_sym_interpret_t *si,
  5092. const xcb_xkb_mod_def_t *groupMaps);
  5093. xcb_xkb_sym_interpret_t *
  5094. xcb_xkb_set_compat_map_si (const xcb_xkb_set_compat_map_request_t *R);
  5095. int
  5096. xcb_xkb_set_compat_map_si_length (const xcb_xkb_set_compat_map_request_t *R);
  5097. xcb_xkb_sym_interpret_iterator_t
  5098. xcb_xkb_set_compat_map_si_iterator (const xcb_xkb_set_compat_map_request_t *R);
  5099. xcb_xkb_mod_def_t *
  5100. xcb_xkb_set_compat_map_group_maps (const xcb_xkb_set_compat_map_request_t *R);
  5101. int
  5102. xcb_xkb_set_compat_map_group_maps_length (const xcb_xkb_set_compat_map_request_t *R);
  5103. xcb_xkb_mod_def_iterator_t
  5104. xcb_xkb_set_compat_map_group_maps_iterator (const xcb_xkb_set_compat_map_request_t *R);
  5105. /**
  5106. *
  5107. * @param c The connection
  5108. * @return A cookie
  5109. *
  5110. * Delivers a request to the X server.
  5111. *
  5112. */
  5113. xcb_xkb_get_indicator_state_cookie_t
  5114. xcb_xkb_get_indicator_state (xcb_connection_t *c,
  5115. xcb_xkb_device_spec_t deviceSpec);
  5116. /**
  5117. *
  5118. * @param c The connection
  5119. * @return A cookie
  5120. *
  5121. * Delivers a request to the X server.
  5122. *
  5123. * This form can be used only if the request will cause
  5124. * a reply to be generated. Any returned error will be
  5125. * placed in the event queue.
  5126. */
  5127. xcb_xkb_get_indicator_state_cookie_t
  5128. xcb_xkb_get_indicator_state_unchecked (xcb_connection_t *c,
  5129. xcb_xkb_device_spec_t deviceSpec);
  5130. /**
  5131. * Return the reply
  5132. * @param c The connection
  5133. * @param cookie The cookie
  5134. * @param e The xcb_generic_error_t supplied
  5135. *
  5136. * Returns the reply of the request asked by
  5137. *
  5138. * The parameter @p e supplied to this function must be NULL if
  5139. * xcb_xkb_get_indicator_state_unchecked(). is used.
  5140. * Otherwise, it stores the error if any.
  5141. *
  5142. * The returned value must be freed by the caller using free().
  5143. */
  5144. xcb_xkb_get_indicator_state_reply_t *
  5145. xcb_xkb_get_indicator_state_reply (xcb_connection_t *c,
  5146. xcb_xkb_get_indicator_state_cookie_t cookie /**< */,
  5147. xcb_generic_error_t **e);
  5148. int
  5149. xcb_xkb_get_indicator_map_sizeof (const void *_buffer);
  5150. /**
  5151. *
  5152. * @param c The connection
  5153. * @return A cookie
  5154. *
  5155. * Delivers a request to the X server.
  5156. *
  5157. */
  5158. xcb_xkb_get_indicator_map_cookie_t
  5159. xcb_xkb_get_indicator_map (xcb_connection_t *c,
  5160. xcb_xkb_device_spec_t deviceSpec,
  5161. uint32_t which);
  5162. /**
  5163. *
  5164. * @param c The connection
  5165. * @return A cookie
  5166. *
  5167. * Delivers a request to the X server.
  5168. *
  5169. * This form can be used only if the request will cause
  5170. * a reply to be generated. Any returned error will be
  5171. * placed in the event queue.
  5172. */
  5173. xcb_xkb_get_indicator_map_cookie_t
  5174. xcb_xkb_get_indicator_map_unchecked (xcb_connection_t *c,
  5175. xcb_xkb_device_spec_t deviceSpec,
  5176. uint32_t which);
  5177. xcb_xkb_indicator_map_t *
  5178. xcb_xkb_get_indicator_map_maps (const xcb_xkb_get_indicator_map_reply_t *R);
  5179. int
  5180. xcb_xkb_get_indicator_map_maps_length (const xcb_xkb_get_indicator_map_reply_t *R);
  5181. xcb_xkb_indicator_map_iterator_t
  5182. xcb_xkb_get_indicator_map_maps_iterator (const xcb_xkb_get_indicator_map_reply_t *R);
  5183. /**
  5184. * Return the reply
  5185. * @param c The connection
  5186. * @param cookie The cookie
  5187. * @param e The xcb_generic_error_t supplied
  5188. *
  5189. * Returns the reply of the request asked by
  5190. *
  5191. * The parameter @p e supplied to this function must be NULL if
  5192. * xcb_xkb_get_indicator_map_unchecked(). is used.
  5193. * Otherwise, it stores the error if any.
  5194. *
  5195. * The returned value must be freed by the caller using free().
  5196. */
  5197. xcb_xkb_get_indicator_map_reply_t *
  5198. xcb_xkb_get_indicator_map_reply (xcb_connection_t *c,
  5199. xcb_xkb_get_indicator_map_cookie_t cookie /**< */,
  5200. xcb_generic_error_t **e);
  5201. int
  5202. xcb_xkb_set_indicator_map_sizeof (const void *_buffer);
  5203. /**
  5204. *
  5205. * @param c The connection
  5206. * @return A cookie
  5207. *
  5208. * Delivers a request to the X server.
  5209. *
  5210. * This form can be used only if the request will not cause
  5211. * a reply to be generated. Any returned error will be
  5212. * saved for handling by xcb_request_check().
  5213. */
  5214. xcb_void_cookie_t
  5215. xcb_xkb_set_indicator_map_checked (xcb_connection_t *c,
  5216. xcb_xkb_device_spec_t deviceSpec,
  5217. uint32_t which,
  5218. const xcb_xkb_indicator_map_t *maps);
  5219. /**
  5220. *
  5221. * @param c The connection
  5222. * @return A cookie
  5223. *
  5224. * Delivers a request to the X server.
  5225. *
  5226. */
  5227. xcb_void_cookie_t
  5228. xcb_xkb_set_indicator_map (xcb_connection_t *c,
  5229. xcb_xkb_device_spec_t deviceSpec,
  5230. uint32_t which,
  5231. const xcb_xkb_indicator_map_t *maps);
  5232. xcb_xkb_indicator_map_t *
  5233. xcb_xkb_set_indicator_map_maps (const xcb_xkb_set_indicator_map_request_t *R);
  5234. int
  5235. xcb_xkb_set_indicator_map_maps_length (const xcb_xkb_set_indicator_map_request_t *R);
  5236. xcb_xkb_indicator_map_iterator_t
  5237. xcb_xkb_set_indicator_map_maps_iterator (const xcb_xkb_set_indicator_map_request_t *R);
  5238. /**
  5239. *
  5240. * @param c The connection
  5241. * @return A cookie
  5242. *
  5243. * Delivers a request to the X server.
  5244. *
  5245. */
  5246. xcb_xkb_get_named_indicator_cookie_t
  5247. xcb_xkb_get_named_indicator (xcb_connection_t *c,
  5248. xcb_xkb_device_spec_t deviceSpec,
  5249. xcb_xkb_led_class_spec_t ledClass,
  5250. xcb_xkb_id_spec_t ledID,
  5251. xcb_atom_t indicator);
  5252. /**
  5253. *
  5254. * @param c The connection
  5255. * @return A cookie
  5256. *
  5257. * Delivers a request to the X server.
  5258. *
  5259. * This form can be used only if the request will cause
  5260. * a reply to be generated. Any returned error will be
  5261. * placed in the event queue.
  5262. */
  5263. xcb_xkb_get_named_indicator_cookie_t
  5264. xcb_xkb_get_named_indicator_unchecked (xcb_connection_t *c,
  5265. xcb_xkb_device_spec_t deviceSpec,
  5266. xcb_xkb_led_class_spec_t ledClass,
  5267. xcb_xkb_id_spec_t ledID,
  5268. xcb_atom_t indicator);
  5269. /**
  5270. * Return the reply
  5271. * @param c The connection
  5272. * @param cookie The cookie
  5273. * @param e The xcb_generic_error_t supplied
  5274. *
  5275. * Returns the reply of the request asked by
  5276. *
  5277. * The parameter @p e supplied to this function must be NULL if
  5278. * xcb_xkb_get_named_indicator_unchecked(). is used.
  5279. * Otherwise, it stores the error if any.
  5280. *
  5281. * The returned value must be freed by the caller using free().
  5282. */
  5283. xcb_xkb_get_named_indicator_reply_t *
  5284. xcb_xkb_get_named_indicator_reply (xcb_connection_t *c,
  5285. xcb_xkb_get_named_indicator_cookie_t cookie /**< */,
  5286. xcb_generic_error_t **e);
  5287. /**
  5288. *
  5289. * @param c The connection
  5290. * @return A cookie
  5291. *
  5292. * Delivers a request to the X server.
  5293. *
  5294. * This form can be used only if the request will not cause
  5295. * a reply to be generated. Any returned error will be
  5296. * saved for handling by xcb_request_check().
  5297. */
  5298. xcb_void_cookie_t
  5299. xcb_xkb_set_named_indicator_checked (xcb_connection_t *c,
  5300. xcb_xkb_device_spec_t deviceSpec,
  5301. xcb_xkb_led_class_spec_t ledClass,
  5302. xcb_xkb_id_spec_t ledID,
  5303. xcb_atom_t indicator,
  5304. uint8_t setState,
  5305. uint8_t on,
  5306. uint8_t setMap,
  5307. uint8_t createMap,
  5308. uint8_t map_flags,
  5309. uint8_t map_whichGroups,
  5310. uint8_t map_groups,
  5311. uint8_t map_whichMods,
  5312. uint8_t map_realMods,
  5313. uint16_t map_vmods,
  5314. uint32_t map_ctrls);
  5315. /**
  5316. *
  5317. * @param c The connection
  5318. * @return A cookie
  5319. *
  5320. * Delivers a request to the X server.
  5321. *
  5322. */
  5323. xcb_void_cookie_t
  5324. xcb_xkb_set_named_indicator (xcb_connection_t *c,
  5325. xcb_xkb_device_spec_t deviceSpec,
  5326. xcb_xkb_led_class_spec_t ledClass,
  5327. xcb_xkb_id_spec_t ledID,
  5328. xcb_atom_t indicator,
  5329. uint8_t setState,
  5330. uint8_t on,
  5331. uint8_t setMap,
  5332. uint8_t createMap,
  5333. uint8_t map_flags,
  5334. uint8_t map_whichGroups,
  5335. uint8_t map_groups,
  5336. uint8_t map_whichMods,
  5337. uint8_t map_realMods,
  5338. uint16_t map_vmods,
  5339. uint32_t map_ctrls);
  5340. xcb_atom_t *
  5341. xcb_xkb_get_names_value_list_type_names (const xcb_xkb_get_names_value_list_t *S);
  5342. int
  5343. xcb_xkb_get_names_value_list_type_names_length (const xcb_xkb_get_names_reply_t *R,
  5344. const xcb_xkb_get_names_value_list_t *S);
  5345. xcb_generic_iterator_t
  5346. xcb_xkb_get_names_value_list_type_names_end (const xcb_xkb_get_names_reply_t *R,
  5347. const xcb_xkb_get_names_value_list_t *S);
  5348. uint8_t *
  5349. xcb_xkb_get_names_value_list_n_levels_per_type (const xcb_xkb_get_names_value_list_t *S);
  5350. int
  5351. xcb_xkb_get_names_value_list_n_levels_per_type_length (const xcb_xkb_get_names_reply_t *R,
  5352. const xcb_xkb_get_names_value_list_t *S);
  5353. xcb_generic_iterator_t
  5354. xcb_xkb_get_names_value_list_n_levels_per_type_end (const xcb_xkb_get_names_reply_t *R,
  5355. const xcb_xkb_get_names_value_list_t *S);
  5356. xcb_atom_t *
  5357. xcb_xkb_get_names_value_list_kt_level_names (const xcb_xkb_get_names_value_list_t *S);
  5358. int
  5359. xcb_xkb_get_names_value_list_kt_level_names_length (const xcb_xkb_get_names_reply_t *R,
  5360. const xcb_xkb_get_names_value_list_t *S);
  5361. xcb_generic_iterator_t
  5362. xcb_xkb_get_names_value_list_kt_level_names_end (const xcb_xkb_get_names_reply_t *R,
  5363. const xcb_xkb_get_names_value_list_t *S);
  5364. xcb_atom_t *
  5365. xcb_xkb_get_names_value_list_indicator_names (const xcb_xkb_get_names_value_list_t *S);
  5366. int
  5367. xcb_xkb_get_names_value_list_indicator_names_length (const xcb_xkb_get_names_reply_t *R,
  5368. const xcb_xkb_get_names_value_list_t *S);
  5369. xcb_generic_iterator_t
  5370. xcb_xkb_get_names_value_list_indicator_names_end (const xcb_xkb_get_names_reply_t *R,
  5371. const xcb_xkb_get_names_value_list_t *S);
  5372. xcb_atom_t *
  5373. xcb_xkb_get_names_value_list_virtual_mod_names (const xcb_xkb_get_names_value_list_t *S);
  5374. int
  5375. xcb_xkb_get_names_value_list_virtual_mod_names_length (const xcb_xkb_get_names_reply_t *R,
  5376. const xcb_xkb_get_names_value_list_t *S);
  5377. xcb_generic_iterator_t
  5378. xcb_xkb_get_names_value_list_virtual_mod_names_end (const xcb_xkb_get_names_reply_t *R,
  5379. const xcb_xkb_get_names_value_list_t *S);
  5380. xcb_atom_t *
  5381. xcb_xkb_get_names_value_list_groups (const xcb_xkb_get_names_value_list_t *S);
  5382. int
  5383. xcb_xkb_get_names_value_list_groups_length (const xcb_xkb_get_names_reply_t *R,
  5384. const xcb_xkb_get_names_value_list_t *S);
  5385. xcb_generic_iterator_t
  5386. xcb_xkb_get_names_value_list_groups_end (const xcb_xkb_get_names_reply_t *R,
  5387. const xcb_xkb_get_names_value_list_t *S);
  5388. xcb_xkb_key_name_t *
  5389. xcb_xkb_get_names_value_list_key_names (const xcb_xkb_get_names_value_list_t *S);
  5390. int
  5391. xcb_xkb_get_names_value_list_key_names_length (const xcb_xkb_get_names_reply_t *R,
  5392. const xcb_xkb_get_names_value_list_t *S);
  5393. xcb_xkb_key_name_iterator_t
  5394. xcb_xkb_get_names_value_list_key_names_iterator (const xcb_xkb_get_names_reply_t *R,
  5395. const xcb_xkb_get_names_value_list_t *S);
  5396. xcb_xkb_key_alias_t *
  5397. xcb_xkb_get_names_value_list_key_aliases (const xcb_xkb_get_names_value_list_t *S);
  5398. int
  5399. xcb_xkb_get_names_value_list_key_aliases_length (const xcb_xkb_get_names_reply_t *R,
  5400. const xcb_xkb_get_names_value_list_t *S);
  5401. xcb_xkb_key_alias_iterator_t
  5402. xcb_xkb_get_names_value_list_key_aliases_iterator (const xcb_xkb_get_names_reply_t *R,
  5403. const xcb_xkb_get_names_value_list_t *S);
  5404. xcb_atom_t *
  5405. xcb_xkb_get_names_value_list_radio_group_names (const xcb_xkb_get_names_value_list_t *S);
  5406. int
  5407. xcb_xkb_get_names_value_list_radio_group_names_length (const xcb_xkb_get_names_reply_t *R,
  5408. const xcb_xkb_get_names_value_list_t *S);
  5409. xcb_generic_iterator_t
  5410. xcb_xkb_get_names_value_list_radio_group_names_end (const xcb_xkb_get_names_reply_t *R,
  5411. const xcb_xkb_get_names_value_list_t *S);
  5412. int
  5413. xcb_xkb_get_names_value_list_serialize (void **_buffer,
  5414. uint8_t nTypes,
  5415. uint32_t indicators,
  5416. uint16_t virtualMods,
  5417. uint8_t groupNames,
  5418. uint8_t nKeys,
  5419. uint8_t nKeyAliases,
  5420. uint8_t nRadioGroups,
  5421. uint32_t which,
  5422. const xcb_xkb_get_names_value_list_t *_aux);
  5423. int
  5424. xcb_xkb_get_names_value_list_unpack (const void *_buffer,
  5425. uint8_t nTypes,
  5426. uint32_t indicators,
  5427. uint16_t virtualMods,
  5428. uint8_t groupNames,
  5429. uint8_t nKeys,
  5430. uint8_t nKeyAliases,
  5431. uint8_t nRadioGroups,
  5432. uint32_t which,
  5433. xcb_xkb_get_names_value_list_t *_aux);
  5434. int
  5435. xcb_xkb_get_names_value_list_sizeof (const void *_buffer,
  5436. uint8_t nTypes,
  5437. uint32_t indicators,
  5438. uint16_t virtualMods,
  5439. uint8_t groupNames,
  5440. uint8_t nKeys,
  5441. uint8_t nKeyAliases,
  5442. uint8_t nRadioGroups,
  5443. uint32_t which);
  5444. int
  5445. xcb_xkb_get_names_sizeof (const void *_buffer);
  5446. /**
  5447. *
  5448. * @param c The connection
  5449. * @return A cookie
  5450. *
  5451. * Delivers a request to the X server.
  5452. *
  5453. */
  5454. xcb_xkb_get_names_cookie_t
  5455. xcb_xkb_get_names (xcb_connection_t *c,
  5456. xcb_xkb_device_spec_t deviceSpec,
  5457. uint32_t which);
  5458. /**
  5459. *
  5460. * @param c The connection
  5461. * @return A cookie
  5462. *
  5463. * Delivers a request to the X server.
  5464. *
  5465. * This form can be used only if the request will cause
  5466. * a reply to be generated. Any returned error will be
  5467. * placed in the event queue.
  5468. */
  5469. xcb_xkb_get_names_cookie_t
  5470. xcb_xkb_get_names_unchecked (xcb_connection_t *c,
  5471. xcb_xkb_device_spec_t deviceSpec,
  5472. uint32_t which);
  5473. void *
  5474. xcb_xkb_get_names_value_list (const xcb_xkb_get_names_reply_t *R);
  5475. /**
  5476. * Return the reply
  5477. * @param c The connection
  5478. * @param cookie The cookie
  5479. * @param e The xcb_generic_error_t supplied
  5480. *
  5481. * Returns the reply of the request asked by
  5482. *
  5483. * The parameter @p e supplied to this function must be NULL if
  5484. * xcb_xkb_get_names_unchecked(). is used.
  5485. * Otherwise, it stores the error if any.
  5486. *
  5487. * The returned value must be freed by the caller using free().
  5488. */
  5489. xcb_xkb_get_names_reply_t *
  5490. xcb_xkb_get_names_reply (xcb_connection_t *c,
  5491. xcb_xkb_get_names_cookie_t cookie /**< */,
  5492. xcb_generic_error_t **e);
  5493. xcb_atom_t *
  5494. xcb_xkb_set_names_values_type_names (const xcb_xkb_set_names_values_t *S);
  5495. int
  5496. xcb_xkb_set_names_values_type_names_length (const xcb_xkb_set_names_request_t *R,
  5497. const xcb_xkb_set_names_values_t *S);
  5498. xcb_generic_iterator_t
  5499. xcb_xkb_set_names_values_type_names_end (const xcb_xkb_set_names_request_t *R,
  5500. const xcb_xkb_set_names_values_t *S);
  5501. uint8_t *
  5502. xcb_xkb_set_names_values_n_levels_per_type (const xcb_xkb_set_names_values_t *S);
  5503. int
  5504. xcb_xkb_set_names_values_n_levels_per_type_length (const xcb_xkb_set_names_request_t *R,
  5505. const xcb_xkb_set_names_values_t *S);
  5506. xcb_generic_iterator_t
  5507. xcb_xkb_set_names_values_n_levels_per_type_end (const xcb_xkb_set_names_request_t *R,
  5508. const xcb_xkb_set_names_values_t *S);
  5509. xcb_atom_t *
  5510. xcb_xkb_set_names_values_kt_level_names (const xcb_xkb_set_names_values_t *S);
  5511. int
  5512. xcb_xkb_set_names_values_kt_level_names_length (const xcb_xkb_set_names_request_t *R,
  5513. const xcb_xkb_set_names_values_t *S);
  5514. xcb_generic_iterator_t
  5515. xcb_xkb_set_names_values_kt_level_names_end (const xcb_xkb_set_names_request_t *R,
  5516. const xcb_xkb_set_names_values_t *S);
  5517. xcb_atom_t *
  5518. xcb_xkb_set_names_values_indicator_names (const xcb_xkb_set_names_values_t *S);
  5519. int
  5520. xcb_xkb_set_names_values_indicator_names_length (const xcb_xkb_set_names_request_t *R,
  5521. const xcb_xkb_set_names_values_t *S);
  5522. xcb_generic_iterator_t
  5523. xcb_xkb_set_names_values_indicator_names_end (const xcb_xkb_set_names_request_t *R,
  5524. const xcb_xkb_set_names_values_t *S);
  5525. xcb_atom_t *
  5526. xcb_xkb_set_names_values_virtual_mod_names (const xcb_xkb_set_names_values_t *S);
  5527. int
  5528. xcb_xkb_set_names_values_virtual_mod_names_length (const xcb_xkb_set_names_request_t *R,
  5529. const xcb_xkb_set_names_values_t *S);
  5530. xcb_generic_iterator_t
  5531. xcb_xkb_set_names_values_virtual_mod_names_end (const xcb_xkb_set_names_request_t *R,
  5532. const xcb_xkb_set_names_values_t *S);
  5533. xcb_atom_t *
  5534. xcb_xkb_set_names_values_groups (const xcb_xkb_set_names_values_t *S);
  5535. int
  5536. xcb_xkb_set_names_values_groups_length (const xcb_xkb_set_names_request_t *R,
  5537. const xcb_xkb_set_names_values_t *S);
  5538. xcb_generic_iterator_t
  5539. xcb_xkb_set_names_values_groups_end (const xcb_xkb_set_names_request_t *R,
  5540. const xcb_xkb_set_names_values_t *S);
  5541. xcb_xkb_key_name_t *
  5542. xcb_xkb_set_names_values_key_names (const xcb_xkb_set_names_values_t *S);
  5543. int
  5544. xcb_xkb_set_names_values_key_names_length (const xcb_xkb_set_names_request_t *R,
  5545. const xcb_xkb_set_names_values_t *S);
  5546. xcb_xkb_key_name_iterator_t
  5547. xcb_xkb_set_names_values_key_names_iterator (const xcb_xkb_set_names_request_t *R,
  5548. const xcb_xkb_set_names_values_t *S);
  5549. xcb_xkb_key_alias_t *
  5550. xcb_xkb_set_names_values_key_aliases (const xcb_xkb_set_names_values_t *S);
  5551. int
  5552. xcb_xkb_set_names_values_key_aliases_length (const xcb_xkb_set_names_request_t *R,
  5553. const xcb_xkb_set_names_values_t *S);
  5554. xcb_xkb_key_alias_iterator_t
  5555. xcb_xkb_set_names_values_key_aliases_iterator (const xcb_xkb_set_names_request_t *R,
  5556. const xcb_xkb_set_names_values_t *S);
  5557. xcb_atom_t *
  5558. xcb_xkb_set_names_values_radio_group_names (const xcb_xkb_set_names_values_t *S);
  5559. int
  5560. xcb_xkb_set_names_values_radio_group_names_length (const xcb_xkb_set_names_request_t *R,
  5561. const xcb_xkb_set_names_values_t *S);
  5562. xcb_generic_iterator_t
  5563. xcb_xkb_set_names_values_radio_group_names_end (const xcb_xkb_set_names_request_t *R,
  5564. const xcb_xkb_set_names_values_t *S);
  5565. int
  5566. xcb_xkb_set_names_values_serialize (void **_buffer,
  5567. uint8_t nTypes,
  5568. uint32_t indicators,
  5569. uint16_t virtualMods,
  5570. uint8_t groupNames,
  5571. uint8_t nKeys,
  5572. uint8_t nKeyAliases,
  5573. uint8_t nRadioGroups,
  5574. uint32_t which,
  5575. const xcb_xkb_set_names_values_t *_aux);
  5576. int
  5577. xcb_xkb_set_names_values_unpack (const void *_buffer,
  5578. uint8_t nTypes,
  5579. uint32_t indicators,
  5580. uint16_t virtualMods,
  5581. uint8_t groupNames,
  5582. uint8_t nKeys,
  5583. uint8_t nKeyAliases,
  5584. uint8_t nRadioGroups,
  5585. uint32_t which,
  5586. xcb_xkb_set_names_values_t *_aux);
  5587. int
  5588. xcb_xkb_set_names_values_sizeof (const void *_buffer,
  5589. uint8_t nTypes,
  5590. uint32_t indicators,
  5591. uint16_t virtualMods,
  5592. uint8_t groupNames,
  5593. uint8_t nKeys,
  5594. uint8_t nKeyAliases,
  5595. uint8_t nRadioGroups,
  5596. uint32_t which);
  5597. int
  5598. xcb_xkb_set_names_sizeof (const void *_buffer);
  5599. /**
  5600. *
  5601. * @param c The connection
  5602. * @return A cookie
  5603. *
  5604. * Delivers a request to the X server.
  5605. *
  5606. * This form can be used only if the request will not cause
  5607. * a reply to be generated. Any returned error will be
  5608. * saved for handling by xcb_request_check().
  5609. */
  5610. xcb_void_cookie_t
  5611. xcb_xkb_set_names_checked (xcb_connection_t *c,
  5612. xcb_xkb_device_spec_t deviceSpec,
  5613. uint16_t virtualMods,
  5614. uint32_t which,
  5615. uint8_t firstType,
  5616. uint8_t nTypes,
  5617. uint8_t firstKTLevelt,
  5618. uint8_t nKTLevels,
  5619. uint32_t indicators,
  5620. uint8_t groupNames,
  5621. uint8_t nRadioGroups,
  5622. xcb_keycode_t firstKey,
  5623. uint8_t nKeys,
  5624. uint8_t nKeyAliases,
  5625. uint16_t totalKTLevelNames,
  5626. const void *values);
  5627. /**
  5628. *
  5629. * @param c The connection
  5630. * @return A cookie
  5631. *
  5632. * Delivers a request to the X server.
  5633. *
  5634. */
  5635. xcb_void_cookie_t
  5636. xcb_xkb_set_names (xcb_connection_t *c,
  5637. xcb_xkb_device_spec_t deviceSpec,
  5638. uint16_t virtualMods,
  5639. uint32_t which,
  5640. uint8_t firstType,
  5641. uint8_t nTypes,
  5642. uint8_t firstKTLevelt,
  5643. uint8_t nKTLevels,
  5644. uint32_t indicators,
  5645. uint8_t groupNames,
  5646. uint8_t nRadioGroups,
  5647. xcb_keycode_t firstKey,
  5648. uint8_t nKeys,
  5649. uint8_t nKeyAliases,
  5650. uint16_t totalKTLevelNames,
  5651. const void *values);
  5652. /**
  5653. *
  5654. * @param c The connection
  5655. * @return A cookie
  5656. *
  5657. * Delivers a request to the X server.
  5658. *
  5659. * This form can be used only if the request will not cause
  5660. * a reply to be generated. Any returned error will be
  5661. * saved for handling by xcb_request_check().
  5662. */
  5663. xcb_void_cookie_t
  5664. xcb_xkb_set_names_aux_checked (xcb_connection_t *c,
  5665. xcb_xkb_device_spec_t deviceSpec,
  5666. uint16_t virtualMods,
  5667. uint32_t which,
  5668. uint8_t firstType,
  5669. uint8_t nTypes,
  5670. uint8_t firstKTLevelt,
  5671. uint8_t nKTLevels,
  5672. uint32_t indicators,
  5673. uint8_t groupNames,
  5674. uint8_t nRadioGroups,
  5675. xcb_keycode_t firstKey,
  5676. uint8_t nKeys,
  5677. uint8_t nKeyAliases,
  5678. uint16_t totalKTLevelNames,
  5679. const xcb_xkb_set_names_values_t *values);
  5680. /**
  5681. *
  5682. * @param c The connection
  5683. * @return A cookie
  5684. *
  5685. * Delivers a request to the X server.
  5686. *
  5687. */
  5688. xcb_void_cookie_t
  5689. xcb_xkb_set_names_aux (xcb_connection_t *c,
  5690. xcb_xkb_device_spec_t deviceSpec,
  5691. uint16_t virtualMods,
  5692. uint32_t which,
  5693. uint8_t firstType,
  5694. uint8_t nTypes,
  5695. uint8_t firstKTLevelt,
  5696. uint8_t nKTLevels,
  5697. uint32_t indicators,
  5698. uint8_t groupNames,
  5699. uint8_t nRadioGroups,
  5700. xcb_keycode_t firstKey,
  5701. uint8_t nKeys,
  5702. uint8_t nKeyAliases,
  5703. uint16_t totalKTLevelNames,
  5704. const xcb_xkb_set_names_values_t *values);
  5705. void *
  5706. xcb_xkb_set_names_values (const xcb_xkb_set_names_request_t *R);
  5707. /**
  5708. *
  5709. * @param c The connection
  5710. * @return A cookie
  5711. *
  5712. * Delivers a request to the X server.
  5713. *
  5714. */
  5715. xcb_xkb_per_client_flags_cookie_t
  5716. xcb_xkb_per_client_flags (xcb_connection_t *c,
  5717. xcb_xkb_device_spec_t deviceSpec,
  5718. uint32_t change,
  5719. uint32_t value,
  5720. uint32_t ctrlsToChange,
  5721. uint32_t autoCtrls,
  5722. uint32_t autoCtrlsValues);
  5723. /**
  5724. *
  5725. * @param c The connection
  5726. * @return A cookie
  5727. *
  5728. * Delivers a request to the X server.
  5729. *
  5730. * This form can be used only if the request will cause
  5731. * a reply to be generated. Any returned error will be
  5732. * placed in the event queue.
  5733. */
  5734. xcb_xkb_per_client_flags_cookie_t
  5735. xcb_xkb_per_client_flags_unchecked (xcb_connection_t *c,
  5736. xcb_xkb_device_spec_t deviceSpec,
  5737. uint32_t change,
  5738. uint32_t value,
  5739. uint32_t ctrlsToChange,
  5740. uint32_t autoCtrls,
  5741. uint32_t autoCtrlsValues);
  5742. /**
  5743. * Return the reply
  5744. * @param c The connection
  5745. * @param cookie The cookie
  5746. * @param e The xcb_generic_error_t supplied
  5747. *
  5748. * Returns the reply of the request asked by
  5749. *
  5750. * The parameter @p e supplied to this function must be NULL if
  5751. * xcb_xkb_per_client_flags_unchecked(). is used.
  5752. * Otherwise, it stores the error if any.
  5753. *
  5754. * The returned value must be freed by the caller using free().
  5755. */
  5756. xcb_xkb_per_client_flags_reply_t *
  5757. xcb_xkb_per_client_flags_reply (xcb_connection_t *c,
  5758. xcb_xkb_per_client_flags_cookie_t cookie /**< */,
  5759. xcb_generic_error_t **e);
  5760. int
  5761. xcb_xkb_list_components_sizeof (const void *_buffer);
  5762. /**
  5763. *
  5764. * @param c The connection
  5765. * @return A cookie
  5766. *
  5767. * Delivers a request to the X server.
  5768. *
  5769. */
  5770. xcb_xkb_list_components_cookie_t
  5771. xcb_xkb_list_components (xcb_connection_t *c,
  5772. xcb_xkb_device_spec_t deviceSpec,
  5773. uint16_t maxNames);
  5774. /**
  5775. *
  5776. * @param c The connection
  5777. * @return A cookie
  5778. *
  5779. * Delivers a request to the X server.
  5780. *
  5781. * This form can be used only if the request will cause
  5782. * a reply to be generated. Any returned error will be
  5783. * placed in the event queue.
  5784. */
  5785. xcb_xkb_list_components_cookie_t
  5786. xcb_xkb_list_components_unchecked (xcb_connection_t *c,
  5787. xcb_xkb_device_spec_t deviceSpec,
  5788. uint16_t maxNames);
  5789. int
  5790. xcb_xkb_list_components_keymaps_length (const xcb_xkb_list_components_reply_t *R);
  5791. xcb_xkb_listing_iterator_t
  5792. xcb_xkb_list_components_keymaps_iterator (const xcb_xkb_list_components_reply_t *R);
  5793. int
  5794. xcb_xkb_list_components_keycodes_length (const xcb_xkb_list_components_reply_t *R);
  5795. xcb_xkb_listing_iterator_t
  5796. xcb_xkb_list_components_keycodes_iterator (const xcb_xkb_list_components_reply_t *R);
  5797. int
  5798. xcb_xkb_list_components_types_length (const xcb_xkb_list_components_reply_t *R);
  5799. xcb_xkb_listing_iterator_t
  5800. xcb_xkb_list_components_types_iterator (const xcb_xkb_list_components_reply_t *R);
  5801. int
  5802. xcb_xkb_list_components_compat_maps_length (const xcb_xkb_list_components_reply_t *R);
  5803. xcb_xkb_listing_iterator_t
  5804. xcb_xkb_list_components_compat_maps_iterator (const xcb_xkb_list_components_reply_t *R);
  5805. int
  5806. xcb_xkb_list_components_symbols_length (const xcb_xkb_list_components_reply_t *R);
  5807. xcb_xkb_listing_iterator_t
  5808. xcb_xkb_list_components_symbols_iterator (const xcb_xkb_list_components_reply_t *R);
  5809. int
  5810. xcb_xkb_list_components_geometries_length (const xcb_xkb_list_components_reply_t *R);
  5811. xcb_xkb_listing_iterator_t
  5812. xcb_xkb_list_components_geometries_iterator (const xcb_xkb_list_components_reply_t *R);
  5813. /**
  5814. * Return the reply
  5815. * @param c The connection
  5816. * @param cookie The cookie
  5817. * @param e The xcb_generic_error_t supplied
  5818. *
  5819. * Returns the reply of the request asked by
  5820. *
  5821. * The parameter @p e supplied to this function must be NULL if
  5822. * xcb_xkb_list_components_unchecked(). is used.
  5823. * Otherwise, it stores the error if any.
  5824. *
  5825. * The returned value must be freed by the caller using free().
  5826. */
  5827. xcb_xkb_list_components_reply_t *
  5828. xcb_xkb_list_components_reply (xcb_connection_t *c,
  5829. xcb_xkb_list_components_cookie_t cookie /**< */,
  5830. xcb_generic_error_t **e);
  5831. int
  5832. xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5833. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5834. xcb_xkb_key_type_iterator_t
  5835. xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5836. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5837. int
  5838. xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5839. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5840. xcb_xkb_key_sym_map_iterator_t
  5841. xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5842. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5843. uint8_t *
  5844. xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5845. int
  5846. xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5847. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5848. xcb_generic_iterator_t
  5849. xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5850. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5851. xcb_xkb_action_t *
  5852. xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5853. int
  5854. xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5855. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5856. xcb_xkb_action_iterator_t
  5857. xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5858. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5859. xcb_xkb_set_behavior_t *
  5860. xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5861. int
  5862. xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5863. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5864. xcb_xkb_set_behavior_iterator_t
  5865. xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5866. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5867. uint8_t *
  5868. xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5869. int
  5870. xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5871. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5872. xcb_generic_iterator_t
  5873. xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5874. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5875. xcb_xkb_set_explicit_t *
  5876. xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5877. int
  5878. xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5879. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5880. xcb_xkb_set_explicit_iterator_t
  5881. xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5882. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5883. xcb_xkb_key_mod_map_t *
  5884. xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5885. int
  5886. xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5887. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5888. xcb_xkb_key_mod_map_iterator_t
  5889. xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5890. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5891. xcb_xkb_key_v_mod_map_t *
  5892. xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5893. int
  5894. xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5895. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5896. xcb_xkb_key_v_mod_map_iterator_t
  5897. xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5898. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5899. int
  5900. xcb_xkb_get_kbd_by_name_replies_types_map_serialize (void **_buffer,
  5901. uint8_t nTypes,
  5902. uint8_t nKeySyms,
  5903. uint8_t nKeyActions,
  5904. uint16_t totalActions,
  5905. uint8_t totalKeyBehaviors,
  5906. uint16_t virtualMods,
  5907. uint8_t totalKeyExplicit,
  5908. uint8_t totalModMapKeys,
  5909. uint8_t totalVModMapKeys,
  5910. uint16_t present,
  5911. const xcb_xkb_get_kbd_by_name_replies_types_map_t *_aux);
  5912. int
  5913. xcb_xkb_get_kbd_by_name_replies_types_map_unpack (const void *_buffer,
  5914. uint8_t nTypes,
  5915. uint8_t nKeySyms,
  5916. uint8_t nKeyActions,
  5917. uint16_t totalActions,
  5918. uint8_t totalKeyBehaviors,
  5919. uint16_t virtualMods,
  5920. uint8_t totalKeyExplicit,
  5921. uint8_t totalModMapKeys,
  5922. uint8_t totalVModMapKeys,
  5923. uint16_t present,
  5924. xcb_xkb_get_kbd_by_name_replies_types_map_t *_aux);
  5925. int
  5926. xcb_xkb_get_kbd_by_name_replies_types_map_sizeof (const void *_buffer,
  5927. uint8_t nTypes,
  5928. uint8_t nKeySyms,
  5929. uint8_t nKeyActions,
  5930. uint16_t totalActions,
  5931. uint8_t totalKeyBehaviors,
  5932. uint16_t virtualMods,
  5933. uint8_t totalKeyExplicit,
  5934. uint8_t totalModMapKeys,
  5935. uint8_t totalVModMapKeys,
  5936. uint16_t present);
  5937. xcb_atom_t *
  5938. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5939. int
  5940. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5941. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5942. xcb_generic_iterator_t
  5943. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5944. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5945. uint8_t *
  5946. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5947. int
  5948. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5949. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5950. xcb_generic_iterator_t
  5951. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5952. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5953. xcb_atom_t *
  5954. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5955. int
  5956. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5957. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5958. xcb_generic_iterator_t
  5959. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5960. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5961. xcb_atom_t *
  5962. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5963. int
  5964. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5965. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5966. xcb_generic_iterator_t
  5967. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5968. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5969. xcb_atom_t *
  5970. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5971. int
  5972. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5973. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5974. xcb_generic_iterator_t
  5975. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5976. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5977. xcb_atom_t *
  5978. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5979. int
  5980. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5981. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5982. xcb_generic_iterator_t
  5983. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5984. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5985. xcb_xkb_key_name_t *
  5986. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5987. int
  5988. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5989. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5990. xcb_xkb_key_name_iterator_t
  5991. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5992. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5993. xcb_xkb_key_alias_t *
  5994. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases (const xcb_xkb_get_kbd_by_name_replies_t *S);
  5995. int
  5996. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  5997. const xcb_xkb_get_kbd_by_name_replies_t *S);
  5998. xcb_xkb_key_alias_iterator_t
  5999. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6000. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6001. xcb_atom_t *
  6002. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
  6003. int
  6004. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6005. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6006. xcb_generic_iterator_t
  6007. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6008. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6009. int
  6010. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize (void **_buffer,
  6011. uint8_t nTypes,
  6012. uint32_t indicators,
  6013. uint16_t virtualMods,
  6014. uint8_t groupNames,
  6015. uint8_t nKeys,
  6016. uint8_t nKeyAliases,
  6017. uint8_t nRadioGroups,
  6018. uint32_t which,
  6019. const xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *_aux);
  6020. int
  6021. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_unpack (const void *_buffer,
  6022. uint8_t nTypes,
  6023. uint32_t indicators,
  6024. uint16_t virtualMods,
  6025. uint8_t groupNames,
  6026. uint8_t nKeys,
  6027. uint8_t nKeyAliases,
  6028. uint8_t nRadioGroups,
  6029. uint32_t which,
  6030. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *_aux);
  6031. int
  6032. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof (const void *_buffer,
  6033. uint8_t nTypes,
  6034. uint32_t indicators,
  6035. uint16_t virtualMods,
  6036. uint8_t groupNames,
  6037. uint8_t nKeys,
  6038. uint8_t nKeyAliases,
  6039. uint8_t nRadioGroups,
  6040. uint32_t which);
  6041. xcb_xkb_sym_interpret_t *
  6042. xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  6043. int
  6044. xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6045. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6046. xcb_xkb_sym_interpret_iterator_t
  6047. xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6048. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6049. xcb_xkb_mod_def_t *
  6050. xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
  6051. int
  6052. xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6053. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6054. xcb_xkb_mod_def_iterator_t
  6055. xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6056. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6057. xcb_xkb_indicator_map_t *
  6058. xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps (const xcb_xkb_get_kbd_by_name_replies_t *S);
  6059. int
  6060. xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6061. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6062. xcb_xkb_indicator_map_iterator_t
  6063. xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
  6064. const xcb_xkb_get_kbd_by_name_replies_t *S);
  6065. xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *
  6066. xcb_xkb_get_kbd_by_name_replies_key_names_value_list (const xcb_xkb_get_kbd_by_name_replies_t *R);
  6067. xcb_xkb_counted_string_16_t *
  6068. xcb_xkb_get_kbd_by_name_replies_geometry_label_font (const xcb_xkb_get_kbd_by_name_replies_t *R);
  6069. int
  6070. xcb_xkb_get_kbd_by_name_replies_serialize (void **_buffer,
  6071. uint16_t reported,
  6072. const xcb_xkb_get_kbd_by_name_replies_t *_aux);
  6073. int
  6074. xcb_xkb_get_kbd_by_name_replies_unpack (const void *_buffer,
  6075. uint16_t reported,
  6076. xcb_xkb_get_kbd_by_name_replies_t *_aux);
  6077. int
  6078. xcb_xkb_get_kbd_by_name_replies_sizeof (const void *_buffer,
  6079. uint16_t reported);
  6080. int
  6081. xcb_xkb_get_kbd_by_name_sizeof (const void *_buffer);
  6082. /**
  6083. *
  6084. * @param c The connection
  6085. * @return A cookie
  6086. *
  6087. * Delivers a request to the X server.
  6088. *
  6089. */
  6090. xcb_xkb_get_kbd_by_name_cookie_t
  6091. xcb_xkb_get_kbd_by_name (xcb_connection_t *c,
  6092. xcb_xkb_device_spec_t deviceSpec,
  6093. uint16_t need,
  6094. uint16_t want,
  6095. uint8_t load);
  6096. /**
  6097. *
  6098. * @param c The connection
  6099. * @return A cookie
  6100. *
  6101. * Delivers a request to the X server.
  6102. *
  6103. * This form can be used only if the request will cause
  6104. * a reply to be generated. Any returned error will be
  6105. * placed in the event queue.
  6106. */
  6107. xcb_xkb_get_kbd_by_name_cookie_t
  6108. xcb_xkb_get_kbd_by_name_unchecked (xcb_connection_t *c,
  6109. xcb_xkb_device_spec_t deviceSpec,
  6110. uint16_t need,
  6111. uint16_t want,
  6112. uint8_t load);
  6113. void *
  6114. xcb_xkb_get_kbd_by_name_replies (const xcb_xkb_get_kbd_by_name_reply_t *R);
  6115. /**
  6116. * Return the reply
  6117. * @param c The connection
  6118. * @param cookie The cookie
  6119. * @param e The xcb_generic_error_t supplied
  6120. *
  6121. * Returns the reply of the request asked by
  6122. *
  6123. * The parameter @p e supplied to this function must be NULL if
  6124. * xcb_xkb_get_kbd_by_name_unchecked(). is used.
  6125. * Otherwise, it stores the error if any.
  6126. *
  6127. * The returned value must be freed by the caller using free().
  6128. */
  6129. xcb_xkb_get_kbd_by_name_reply_t *
  6130. xcb_xkb_get_kbd_by_name_reply (xcb_connection_t *c,
  6131. xcb_xkb_get_kbd_by_name_cookie_t cookie /**< */,
  6132. xcb_generic_error_t **e);
  6133. int
  6134. xcb_xkb_get_device_info_sizeof (const void *_buffer);
  6135. /**
  6136. *
  6137. * @param c The connection
  6138. * @return A cookie
  6139. *
  6140. * Delivers a request to the X server.
  6141. *
  6142. */
  6143. xcb_xkb_get_device_info_cookie_t
  6144. xcb_xkb_get_device_info (xcb_connection_t *c,
  6145. xcb_xkb_device_spec_t deviceSpec,
  6146. uint16_t wanted,
  6147. uint8_t allButtons,
  6148. uint8_t firstButton,
  6149. uint8_t nButtons,
  6150. xcb_xkb_led_class_spec_t ledClass,
  6151. xcb_xkb_id_spec_t ledID);
  6152. /**
  6153. *
  6154. * @param c The connection
  6155. * @return A cookie
  6156. *
  6157. * Delivers a request to the X server.
  6158. *
  6159. * This form can be used only if the request will cause
  6160. * a reply to be generated. Any returned error will be
  6161. * placed in the event queue.
  6162. */
  6163. xcb_xkb_get_device_info_cookie_t
  6164. xcb_xkb_get_device_info_unchecked (xcb_connection_t *c,
  6165. xcb_xkb_device_spec_t deviceSpec,
  6166. uint16_t wanted,
  6167. uint8_t allButtons,
  6168. uint8_t firstButton,
  6169. uint8_t nButtons,
  6170. xcb_xkb_led_class_spec_t ledClass,
  6171. xcb_xkb_id_spec_t ledID);
  6172. xcb_xkb_string8_t *
  6173. xcb_xkb_get_device_info_name (const xcb_xkb_get_device_info_reply_t *R);
  6174. int
  6175. xcb_xkb_get_device_info_name_length (const xcb_xkb_get_device_info_reply_t *R);
  6176. xcb_generic_iterator_t
  6177. xcb_xkb_get_device_info_name_end (const xcb_xkb_get_device_info_reply_t *R);
  6178. xcb_xkb_action_t *
  6179. xcb_xkb_get_device_info_btn_actions (const xcb_xkb_get_device_info_reply_t *R);
  6180. int
  6181. xcb_xkb_get_device_info_btn_actions_length (const xcb_xkb_get_device_info_reply_t *R);
  6182. xcb_xkb_action_iterator_t
  6183. xcb_xkb_get_device_info_btn_actions_iterator (const xcb_xkb_get_device_info_reply_t *R);
  6184. int
  6185. xcb_xkb_get_device_info_leds_length (const xcb_xkb_get_device_info_reply_t *R);
  6186. xcb_xkb_device_led_info_iterator_t
  6187. xcb_xkb_get_device_info_leds_iterator (const xcb_xkb_get_device_info_reply_t *R);
  6188. /**
  6189. * Return the reply
  6190. * @param c The connection
  6191. * @param cookie The cookie
  6192. * @param e The xcb_generic_error_t supplied
  6193. *
  6194. * Returns the reply of the request asked by
  6195. *
  6196. * The parameter @p e supplied to this function must be NULL if
  6197. * xcb_xkb_get_device_info_unchecked(). is used.
  6198. * Otherwise, it stores the error if any.
  6199. *
  6200. * The returned value must be freed by the caller using free().
  6201. */
  6202. xcb_xkb_get_device_info_reply_t *
  6203. xcb_xkb_get_device_info_reply (xcb_connection_t *c,
  6204. xcb_xkb_get_device_info_cookie_t cookie /**< */,
  6205. xcb_generic_error_t **e);
  6206. int
  6207. xcb_xkb_set_device_info_sizeof (const void *_buffer);
  6208. /**
  6209. *
  6210. * @param c The connection
  6211. * @return A cookie
  6212. *
  6213. * Delivers a request to the X server.
  6214. *
  6215. * This form can be used only if the request will not cause
  6216. * a reply to be generated. Any returned error will be
  6217. * saved for handling by xcb_request_check().
  6218. */
  6219. xcb_void_cookie_t
  6220. xcb_xkb_set_device_info_checked (xcb_connection_t *c,
  6221. xcb_xkb_device_spec_t deviceSpec,
  6222. uint8_t firstBtn,
  6223. uint8_t nBtns,
  6224. uint16_t change,
  6225. uint16_t nDeviceLedFBs,
  6226. const xcb_xkb_action_t *btnActions,
  6227. const xcb_xkb_device_led_info_t *leds);
  6228. /**
  6229. *
  6230. * @param c The connection
  6231. * @return A cookie
  6232. *
  6233. * Delivers a request to the X server.
  6234. *
  6235. */
  6236. xcb_void_cookie_t
  6237. xcb_xkb_set_device_info (xcb_connection_t *c,
  6238. xcb_xkb_device_spec_t deviceSpec,
  6239. uint8_t firstBtn,
  6240. uint8_t nBtns,
  6241. uint16_t change,
  6242. uint16_t nDeviceLedFBs,
  6243. const xcb_xkb_action_t *btnActions,
  6244. const xcb_xkb_device_led_info_t *leds);
  6245. xcb_xkb_action_t *
  6246. xcb_xkb_set_device_info_btn_actions (const xcb_xkb_set_device_info_request_t *R);
  6247. int
  6248. xcb_xkb_set_device_info_btn_actions_length (const xcb_xkb_set_device_info_request_t *R);
  6249. xcb_xkb_action_iterator_t
  6250. xcb_xkb_set_device_info_btn_actions_iterator (const xcb_xkb_set_device_info_request_t *R);
  6251. int
  6252. xcb_xkb_set_device_info_leds_length (const xcb_xkb_set_device_info_request_t *R);
  6253. xcb_xkb_device_led_info_iterator_t
  6254. xcb_xkb_set_device_info_leds_iterator (const xcb_xkb_set_device_info_request_t *R);
  6255. int
  6256. xcb_xkb_set_debugging_flags_sizeof (const void *_buffer);
  6257. /**
  6258. *
  6259. * @param c The connection
  6260. * @return A cookie
  6261. *
  6262. * Delivers a request to the X server.
  6263. *
  6264. */
  6265. xcb_xkb_set_debugging_flags_cookie_t
  6266. xcb_xkb_set_debugging_flags (xcb_connection_t *c,
  6267. uint16_t msgLength,
  6268. uint32_t affectFlags,
  6269. uint32_t flags,
  6270. uint32_t affectCtrls,
  6271. uint32_t ctrls,
  6272. const xcb_xkb_string8_t *message);
  6273. /**
  6274. *
  6275. * @param c The connection
  6276. * @return A cookie
  6277. *
  6278. * Delivers a request to the X server.
  6279. *
  6280. * This form can be used only if the request will cause
  6281. * a reply to be generated. Any returned error will be
  6282. * placed in the event queue.
  6283. */
  6284. xcb_xkb_set_debugging_flags_cookie_t
  6285. xcb_xkb_set_debugging_flags_unchecked (xcb_connection_t *c,
  6286. uint16_t msgLength,
  6287. uint32_t affectFlags,
  6288. uint32_t flags,
  6289. uint32_t affectCtrls,
  6290. uint32_t ctrls,
  6291. const xcb_xkb_string8_t *message);
  6292. /**
  6293. * Return the reply
  6294. * @param c The connection
  6295. * @param cookie The cookie
  6296. * @param e The xcb_generic_error_t supplied
  6297. *
  6298. * Returns the reply of the request asked by
  6299. *
  6300. * The parameter @p e supplied to this function must be NULL if
  6301. * xcb_xkb_set_debugging_flags_unchecked(). is used.
  6302. * Otherwise, it stores the error if any.
  6303. *
  6304. * The returned value must be freed by the caller using free().
  6305. */
  6306. xcb_xkb_set_debugging_flags_reply_t *
  6307. xcb_xkb_set_debugging_flags_reply (xcb_connection_t *c,
  6308. xcb_xkb_set_debugging_flags_cookie_t cookie /**< */,
  6309. xcb_generic_error_t **e);
  6310. #ifdef __cplusplus
  6311. }
  6312. #endif
  6313. #endif
  6314. /**
  6315. * @}
  6316. */