| 559 | } |
| 560 | |
| 561 | int KeyMap::modelHeight(Model model){ |
| 562 | switch(model){ |
| 563 | case K65: |
| 564 | case K70: |
| 565 | case K95: |
| 566 | case STRAFE: |
| 567 | return K95_HEIGHT; |
| 568 | case M65: |
| 569 | case SABRE: |
| 570 | case SCIMITAR: |
| 571 | return M65_HEIGHT; |
| 572 | default: |
| 573 | return 0; |
| 574 | } |
| 575 | } |
| 576 | |
| 577 | KeyMap::KeyMap(Model _keyModel, Layout _keyLayout) : |
| 578 | _keys(getMap(_keyModel, _keyLayout)), |
nothing calls this directly
no outgoing calls
no test coverage detected