Revert "Merge pull request #29 from spacemeowx2/nfc-r3"

This reverts commit b1390805d9, reversing
changes made to 2f85c4ce08.
This commit is contained in:
Robert Martin
2020-09-02 18:45:01 +02:00
parent bf2e7e52fb
commit 99ba062710
4 changed files with 11 additions and 235 deletions
+1
View File
@@ -248,6 +248,7 @@ def _register_commands_with_controller_state(controller_state, cli):
nfc <file_name> Set controller state NFC content to file
nfc remove Remove NFC content from controller state
"""
logger.error('NFC Support was removed from joycontrol - see https://github.com/mart1nro/joycontrol/issues/80')
if controller_state.get_controller() == Controller.JOYCON_L:
raise ValueError('NFC content cannot be set for JOYCON_L')
elif not args: