File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -667,16 +667,6 @@ struct joycon_ctlr {
667
667
* These helpers are most useful early during the HID probe or in conjunction
668
668
* with the capability helpers below.
669
669
*/
670
- static inline bool joycon_device_is_left_joycon (struct joycon_ctlr * ctlr )
671
- {
672
- return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_JOYCONL ;
673
- }
674
-
675
- static inline bool joycon_device_is_right_joycon (struct joycon_ctlr * ctlr )
676
- {
677
- return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_JOYCONR ;
678
- }
679
-
680
670
static inline bool joycon_device_is_procon (struct joycon_ctlr * ctlr )
681
671
{
682
672
return ctlr -> hdev -> product == USB_DEVICE_ID_NINTENDO_PROCON ;
@@ -764,18 +754,6 @@ static inline bool joycon_type_is_right_nescon(struct joycon_ctlr *ctlr)
764
754
return ctlr -> ctlr_type == JOYCON_CTLR_TYPE_NESR ;
765
755
}
766
756
767
- static inline bool joycon_type_has_left_controls (struct joycon_ctlr * ctlr )
768
- {
769
- return joycon_type_is_left_joycon (ctlr ) ||
770
- joycon_type_is_procon (ctlr );
771
- }
772
-
773
- static inline bool joycon_type_has_right_controls (struct joycon_ctlr * ctlr )
774
- {
775
- return joycon_type_is_right_joycon (ctlr ) ||
776
- joycon_type_is_procon (ctlr );
777
- }
778
-
779
757
static inline bool joycon_type_is_any_joycon (struct joycon_ctlr * ctlr )
780
758
{
781
759
return joycon_type_is_left_joycon (ctlr ) ||
You can’t perform that action at this time.
0 commit comments