Fixed typo
This commit is contained in:
18
INSTALL.md
18
INSTALL.md
@@ -62,10 +62,17 @@ pip install gphoto2
|
||||
-or-
|
||||
pip install gphoto2-cffi
|
||||
|
||||
## Additional setup steps for my hardware setup
|
||||
|
||||
### Pollin LS-7T touch screen
|
||||
|
||||
#### Install required packages
|
||||
```bash
|
||||
apt install xinput-calibrator xserver-xorg-input-evdev
|
||||
```
|
||||
|
||||
/usr/share/X11/xorg.conf.d/99-eGalax.conf:
|
||||
#### Configure device
|
||||
Add the following to `/usr/share/X11/xorg.conf.d/99-eGalax.conf`:
|
||||
```
|
||||
Section "InputClass"
|
||||
Identifier "evdev tablet catchall"
|
||||
@@ -81,3 +88,12 @@ Section "InputClass"
|
||||
Option "SwapAxes" "0"
|
||||
EndSection
|
||||
```
|
||||
|
||||
The calibration data can be obtained using `xinput-calibrator`.
|
||||
|
||||
### Canon Selphy CP-1000 printer
|
||||
|
||||
#### Install Gutenprint printer drivers
|
||||
```bash
|
||||
apt install printer-driver-gutenprint
|
||||
```
|
||||
|
||||
@@ -66,7 +66,7 @@ class Photobooth:
|
||||
self._lampOn = lambda : self._gpio.lampOn(lamp)
|
||||
self._lampOff = lambda : self._gpio.lampOff(lamp)
|
||||
|
||||
self._gpio.setButton(triger_pin, self.gpioTrigger)
|
||||
self._gpio.setButton(trigger_pin, self.gpioTrigger)
|
||||
self._gpio.setButton(exit_pin, self.gpioExit)
|
||||
else:
|
||||
self._lampOn = lambda : None
|
||||
|
||||
@@ -650,6 +650,10 @@ class PyQt5WaitMessage(QFrame):
|
||||
|
||||
painter = QPainter(self)
|
||||
|
||||
f = self.font()
|
||||
f.setPixelSize(self.height() / 8)
|
||||
painter.setFont(f)
|
||||
|
||||
rect = QRect(0, self.height() * 3 / 5, self.width(), self.height() * 3 / 10)
|
||||
painter.drawText(rect, Qt.AlignCenter, self._message)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user