File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -658,7 +658,6 @@ struct joycon_ctlr {
658
658
(ctlr->ctlr_type == JOYCON_CTLR_TYPE_JCR || \
659
659
ctlr->ctlr_type == JOYCON_CTLR_TYPE_PRO)
660
660
661
-
662
661
/*
663
662
* Controller device helpers
664
663
*
@@ -669,31 +668,11 @@ struct joycon_ctlr {
669
668
* These helpers are most useful early during the HID probe or in conjunction
670
669
* with the capability helpers below.
671
670
*/
672
- static inline bool joycon_device_is_procon (struct joycon_ctlr * ctlr )
673
- {
674
- return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_PROCON ;
675
- }
676
-
677
671
static inline bool joycon_device_is_chrggrip (struct joycon_ctlr * ctlr )
678
672
{
679
673
return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_CHRGGRIP ;
680
674
}
681
675
682
- static inline bool joycon_device_is_snescon (struct joycon_ctlr * ctlr )
683
- {
684
- return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_SNESCON ;
685
- }
686
-
687
- static inline bool joycon_device_is_gencon (struct joycon_ctlr * ctlr )
688
- {
689
- return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_GENCON ;
690
- }
691
-
692
- static inline bool joycon_device_is_n64con (struct joycon_ctlr * ctlr )
693
- {
694
- return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_N64CON ;
695
- }
696
-
697
676
/*
698
677
* Controller type helpers
699
678
*
You can’t perform that action at this time.
0 commit comments