Home
last modified time | relevance | path

Searched refs:country (Results 1 – 4 of 4) sorted by relevance

/RvlSDK-3.1/build/demos/kprdemo/src/
Dkprdemo.c228 KBDCountryCode country; in kbdAppKeyEvent() local
333 KBD_CALL (KBDGetCountry (kke->channel, &country)); in kbdAppKeyEvent()
335 if (country == KBD_CC_GREEK) { in kbdAppKeyEvent()
382 static u32 country[KBD_MAX_CHANNELS] = { 0, 0, 0, 0}; // index into codeList above in main() local
451 country[cch] = (country[cch]+1) % MAX_CODE; in main()
453 country[cch] = (country[cch]+MAX_CODE-1) % MAX_CODE; in main()
455 KBD_CALL (KBDSetCountry (cch, countryList[country[cch]])); in main()
457 …OSReport ("Country switched to %s for channel %d.\n", countryName[countryList[country[cch]]], cch); in main()
459 if (countryList[country[cch]] == KBD_CC_JAPANESE) { in main()
471 } else if (countryList[country[cch]] != KBD_CC_UNITED_STATES && in main()
[all …]
/RvlSDK-3.1/build/demos/kbddemo/src/
DkbdUTF8.c231 KBDCountryCode country; in kbdAppKeyEvent() local
272 KBD_CALL (KBDGetCountry (kke->channel, &country)); in kbdAppKeyEvent()
295 OSReport (" (%s) utf32 unicode: 0x%08x", countryName[country], kke->unicode); in kbdAppKeyEvent()
336 if (country == KBD_CC_GREEK) { in kbdAppKeyEvent()
384 static u32 country[KBD_MAX_CHANNELS] = { 0, 0, 0, 0 }; // index into codeList above in main() local
435 country[cch] = (country[cch]+1) % MAX_CODE; in main()
437 country[cch] = (country[cch]+MAX_CODE-1) % MAX_CODE; in main()
439 KBD_CALL (KBDSetCountry (cch, countryList[country[cch]])); in main()
441 …OSReport ("Country switched to %s for channel %d.\n", countryName[countryList[country[cch]]], cch); in main()
DkbdUTF8Sync.c229 KBDCountryCode country; in kbdAppKeyEvent() local
270 KBD_CALL (KBDGetCountry (kke->channel, &country)); in kbdAppKeyEvent()
293 OSReport (" (%s) utf32 unicode: 0x%08x", countryName[country], kke->unicode); in kbdAppKeyEvent()
334 if (country == KBD_CC_GREEK) { in kbdAppKeyEvent()
384 static u32 country[KBD_MAX_CHANNELS] = { 0, 0, 0, 0 }; // index into codeList above in main() local
435 country[cch] = (country[cch]+1) % MAX_CODE; in main()
437 country[cch] = (country[cch]+MAX_CODE-1) % MAX_CODE; in main()
439 KBD_CALL (KBDSetCountry (cch, countryList[country[cch]])); in main()
441 …OSReport ("Country switched to %s for channel %d.\n", countryName[countryList[country[cch]]], cch); in main()
/RvlSDK-3.1/include/revolution/
Dkbd.h257 KBDEc KBDSetCountry (KBDChannel ch, KBDCountryCode country); // set country
258 KBDEc KBDGetCountry (KBDChannel ch, KBDCountryCode *country); // get country
269 KBDUnicode KBDTranslateHidCode(KBDHIDCode hid, KBDModState modState, KBDCountryCode country);