Lines Matching refs:pHost

417 static int compKBMaps(const keyboard_type *pHost, const keyboard_type *pTarget)
419 if ( !pHost->lctrl && !pHost->capslock && !pHost->lshift && !pHost->tab
420 && !pHost->esc && !pHost->enter && !pHost->up && !pHost->down
421 && !pHost->left && !pHost->right && !pHost->f1 && !pHost->f2
422 && !pHost->f3 && !pHost->f4 && !pHost->f5 && !pHost->f6 && !pHost->f7
423 && !pHost->f8)
426 if ( ( !checkHostKeycode(pHost->lctrl, pTarget->lctrl)
427 || !checkHostKeycode(pHost->capslock, pTarget->capslock))
428 && ( !checkHostKeycode(pHost->lctrl, pTarget->capslock)
429 || !checkHostKeycode(pHost->capslock, pTarget->lctrl)))
431 if ( !checkHostKeycode(pHost->lshift, pTarget->lshift)
432 || !checkHostKeycode(pHost->tab, pTarget->tab)
433 || !checkHostKeycode(pHost->esc, pTarget->esc)
434 || !checkHostKeycode(pHost->enter, pTarget->enter)
435 || !checkHostKeycode(pHost->up, pTarget->up)
436 || !checkHostKeycode(pHost->down, pTarget->down)
437 || !checkHostKeycode(pHost->left, pTarget->left)
438 || !checkHostKeycode(pHost->right, pTarget->right)
439 || !checkHostKeycode(pHost->f1, pTarget->f1)
440 || !checkHostKeycode(pHost->f2, pTarget->f2)
441 || !checkHostKeycode(pHost->f3, pTarget->f3)
442 || !checkHostKeycode(pHost->f4, pTarget->f4)
443 || !checkHostKeycode(pHost->f5, pTarget->f5)
444 || !checkHostKeycode(pHost->f6, pTarget->f6)
445 || !checkHostKeycode(pHost->f7, pTarget->f7)
446 || !checkHostKeycode(pHost->f8, pTarget->f8))
451 static int findHostKBInList(const keyboard_type *pHost,
456 if (compKBMaps(pHost, &pList[i]))