MCPcopy Create free account
hub / github.com/ccMSC/ckb / modelWidth

Method modelWidth

src/ckb/keymap.cpp:542–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542int KeyMap::modelWidth(Model model){
543 switch(model){
544 case K65:
545 return K65_WIDTH;
546 case K70:
547 return K70_WIDTH;
548 case K95:
549 return K95_WIDTH;
550 case STRAFE:
551 return KSTRAFE_WIDTH;
552 case M65:
553 case SABRE:
554 case SCIMITAR:
555 return M65_WIDTH;
556 default:
557 return 0;
558 }
559}
560
561int KeyMap::modelHeight(Model model){
562 switch(model){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected