Add Infrared Receiver category and entry
This commit is contained in:
parent
36e09d73fc
commit
adc60e61ad
14
README.md
14
README.md
@ -42,6 +42,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso
|
||||
- [Functions](#functions)
|
||||
- [Hardware](#hardware)
|
||||
- [Hardware Information](#hardware-information)
|
||||
- [Infrared Receiver](#infrared-receiver)
|
||||
- [Power Management](#power-management)
|
||||
- [Input Devices](#input-devices)
|
||||
- [Keyboard](#keyboard)
|
||||
@ -632,6 +633,19 @@ system_profiler SPDisplaysDataType | grep Resolution
|
||||
sysctl -n machdep.cpu.brand_string
|
||||
```
|
||||
|
||||
### Infrared Receiver
|
||||
|
||||
```bash
|
||||
# Status
|
||||
defaults read /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled
|
||||
|
||||
# Enable (Default)
|
||||
defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -int 1
|
||||
|
||||
# Disable
|
||||
defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -int 0
|
||||
```
|
||||
|
||||
### Power Management
|
||||
|
||||
#### Prevent System Sleep
|
||||
|
Loading…
Reference in New Issue
Block a user