-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1234 from lamassu/release-10.0.6
Release 10.0.6
- Loading branch information
Showing
34 changed files
with
793 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
#!/usr/bin/env sh | ||
xrandr -o left # normal, inverted, left, right | ||
identityMat='1 0 0 0 1 0 0 0 1' | ||
leftRotateMat='0 -1 1 1 0 0 0 0 1' | ||
rightRotateMat='0 1 0 -1 0 1 0 0 1' | ||
xinput set-prop 'ILITEK ILITEK-TP' --type=float 'Coordinate Transformation Matrix' $leftRotateMat | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
set -e | ||
|
||
### CHANGE CONFIGURATION AT THE END OF THE FILE ### | ||
|
||
configure_screen() { | ||
local rotation="$1" | ||
case "${rotation}" in | ||
normal) touchRotation='1 0 0 0 1 0 0 0 1';; | ||
left) touchRotation='0 -1 1 1 0 0 0 0 1';; | ||
right) touchRotation='0 1 0 -1 0 1 0 0 1';; | ||
*) echo "Unknown rotation '${rotation}'..."; exit 1;; | ||
esac | ||
screenRotation="${rotation}" | ||
|
||
xrandr -o "${screenRotation}" \ | ||
&& xset s off \ | ||
&& xset s noblank \ | ||
&& xset -dpms | ||
} | ||
|
||
configure_touch() { | ||
local screen="$1" | ||
xinput set-prop "${screen}" --type=float 'Coordinate Transformation Matrix' $touchRotation | ||
} | ||
|
||
### CHANGE CONFIGURATION BELOW TO MATCH THE CONNECTED SCREEN ### | ||
|
||
# One of: normal, left, right | ||
configure_screen left | ||
# Find the screen name under "Virtual core pointer" of the following command: | ||
# xinput list | ||
configure_touch 'ILITEK ILITEK-TP' |
10 changes: 0 additions & 10 deletions
10
hardware/system/coincloud/jcm-ipro-rc/supervisor/conf.d/calibrate-screen.conf
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
#!/usr/bin/env sh | ||
xrandr -o left # normal, inverted, left, right | ||
identityMat='1 0 0 0 1 0 0 0 1' | ||
leftRotateMat='0 -1 1 1 0 0 0 0 1' | ||
rightRotateMat='0 1 0 -1 0 1 0 0 1' | ||
xinput set-prop 'ILITEK ILITEK-TP' --type=float 'Coordinate Transformation Matrix' $leftRotateMat | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
set -e | ||
|
||
### CHANGE CONFIGURATION AT THE END OF THE FILE ### | ||
|
||
configure_screen() { | ||
local rotation="$1" | ||
case "${rotation}" in | ||
normal) touchRotation='1 0 0 0 1 0 0 0 1';; | ||
left) touchRotation='0 -1 1 1 0 0 0 0 1';; | ||
right) touchRotation='0 1 0 -1 0 1 0 0 1';; | ||
*) echo "Unknown rotation '${rotation}'..."; exit 1;; | ||
esac | ||
screenRotation="${rotation}" | ||
|
||
xrandr -o "${screenRotation}" \ | ||
&& xset s off \ | ||
&& xset s noblank \ | ||
&& xset -dpms | ||
} | ||
|
||
configure_touch() { | ||
local screen="$1" | ||
xinput set-prop "${screen}" --type=float 'Coordinate Transformation Matrix' $touchRotation | ||
} | ||
|
||
### CHANGE CONFIGURATION BELOW TO MATCH THE CONNECTED SCREEN ### | ||
|
||
# One of: normal, left, right | ||
configure_screen left | ||
# Find the screen name under "Virtual core pointer" of the following command: | ||
# xinput list | ||
configure_touch 'ILITEK ILITEK-TP' |
10 changes: 0 additions & 10 deletions
10
hardware/system/coincloud/mei-bnr/supervisor/conf.d/calibrate-screen.conf
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
#!/usr/bin/env sh | ||
xrandr -o left # normal, inverted, left, right | ||
identityMat='1 0 0 0 1 0 0 0 1' | ||
leftRotateMat='0 -1 1 1 0 0 0 0 1' | ||
rightRotateMat='0 1 0 -1 0 1 0 0 1' | ||
xinput set-prop 'ILITEK ILITEK-TP' --type=float 'Coordinate Transformation Matrix' $leftRotateMat | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
set -e | ||
|
||
### CHANGE CONFIGURATION AT THE END OF THE FILE ### | ||
|
||
configure_screen() { | ||
local rotation="$1" | ||
case "${rotation}" in | ||
normal) touchRotation='1 0 0 0 1 0 0 0 1';; | ||
left) touchRotation='0 -1 1 1 0 0 0 0 1';; | ||
right) touchRotation='0 1 0 -1 0 1 0 0 1';; | ||
*) echo "Unknown rotation '${rotation}'..."; exit 1;; | ||
esac | ||
screenRotation="${rotation}" | ||
|
||
xrandr -o "${screenRotation}" \ | ||
&& xset s off \ | ||
&& xset s noblank \ | ||
&& xset -dpms | ||
} | ||
|
||
configure_touch() { | ||
local screen="$1" | ||
xinput set-prop "${screen}" --type=float 'Coordinate Transformation Matrix' $touchRotation | ||
} | ||
|
||
### CHANGE CONFIGURATION BELOW TO MATCH THE CONNECTED SCREEN ### | ||
|
||
# One of: normal, left, right | ||
configure_screen left | ||
# Find the screen name under "Virtual core pointer" of the following command: | ||
# xinput list | ||
configure_touch 'ILITEK ILITEK-TP' |
10 changes: 0 additions & 10 deletions
10
hardware/system/coincloud/mei-scr/supervisor/conf.d/calibrate-screen.conf
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
#!/usr/bin/env sh | ||
xrandr -o normal # normal, inverted, left, right | ||
identityMat='1 0 0 0 1 0 0 0 1' | ||
leftRotateMat='0 -1 1 1 0 0 0 0 1' | ||
rightRotateMat='0 1 0 -1 0 1 0 0 1' | ||
xinput set-prop 'Virtual core pointer' --type=float 'Coordinate Transformation Matrix' $identityMat | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
set -e | ||
|
||
### CHANGE CONFIGURATION AT THE END OF THE FILE ### | ||
|
||
configure_screen() { | ||
local rotation="$1" | ||
case "${rotation}" in | ||
normal) touchRotation='1 0 0 0 1 0 0 0 1';; | ||
left) touchRotation='0 -1 1 1 0 0 0 0 1';; | ||
right) touchRotation='0 1 0 -1 0 1 0 0 1';; | ||
*) echo "Unknown rotation '${rotation}'..."; exit 1;; | ||
esac | ||
screenRotation="${rotation}" | ||
|
||
xrandr -o "${screenRotation}" \ | ||
&& xset s off \ | ||
&& xset s noblank \ | ||
&& xset -dpms | ||
} | ||
|
||
configure_touch() { | ||
local screen="$1" | ||
xinput set-prop "${screen}" --type=float 'Coordinate Transformation Matrix' $touchRotation | ||
} | ||
|
||
### CHANGE CONFIGURATION BELOW TO MATCH THE CONNECTED SCREEN ### | ||
|
||
# One of: normal, left, right | ||
configure_screen normal | ||
# Find the screen name under "Virtual core pointer" of the following command: | ||
# xinput list | ||
configure_touch 'Virtual core pointer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
#!/usr/bin/env sh | ||
xrandr -o normal # normal, inverted, left, right | ||
identityMat='1 0 0 0 1 0 0 0 1' | ||
leftRotateMat='0 -1 1 1 0 0 0 0 1' | ||
rightRotateMat='0 1 0 -1 0 1 0 0 1' | ||
xinput set-prop 'ILITEK ILITEK-TP' --type=float 'Coordinate Transformation Matrix' $identityMat | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
set -e | ||
|
||
### CHANGE CONFIGURATION AT THE END OF THE FILE ### | ||
|
||
configure_screen() { | ||
local rotation="$1" | ||
case "${rotation}" in | ||
normal) touchRotation='1 0 0 0 1 0 0 0 1';; | ||
left) touchRotation='0 -1 1 1 0 0 0 0 1';; | ||
right) touchRotation='0 1 0 -1 0 1 0 0 1';; | ||
*) echo "Unknown rotation '${rotation}'..."; exit 1;; | ||
esac | ||
screenRotation="${rotation}" | ||
|
||
xrandr -o "${screenRotation}" \ | ||
&& xset s off \ | ||
&& xset s noblank \ | ||
&& xset -dpms | ||
} | ||
|
||
configure_touch() { | ||
local screen="$1" | ||
xinput set-prop "${screen}" --type=float 'Coordinate Transformation Matrix' $touchRotation | ||
} | ||
|
||
### CHANGE CONFIGURATION BELOW TO MATCH THE CONNECTED SCREEN ### | ||
|
||
# One of: normal, left, right | ||
configure_screen normal | ||
# Find the screen name under "Virtual core pointer" of the following command: | ||
# xinput list | ||
configure_touch 'ILITEK ILITEK-TP' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
#!/usr/bin/env sh | ||
xrandr -o left # normal, inverted, left, right | ||
identityMat='1 0 0 0 1 0 0 0 1' | ||
leftRotateMat='0 -1 1 1 0 0 0 0 1' | ||
rightRotateMat='0 1 0 -1 0 1 0 0 1' | ||
xinput set-prop 'ILITEK ILITEK-TP' --type=float 'Coordinate Transformation Matrix' $leftRotateMat | ||
xset s off | ||
xset s noblank | ||
xset -dpms | ||
set -e | ||
|
||
### CHANGE CONFIGURATION AT THE END OF THE FILE ### | ||
|
||
configure_screen() { | ||
local rotation="$1" | ||
case "${rotation}" in | ||
normal) touchRotation='1 0 0 0 1 0 0 0 1';; | ||
left) touchRotation='0 -1 1 1 0 0 0 0 1';; | ||
right) touchRotation='0 1 0 -1 0 1 0 0 1';; | ||
*) echo "Unknown rotation '${rotation}'..."; exit 1;; | ||
esac | ||
screenRotation="${rotation}" | ||
|
||
xrandr -o "${screenRotation}" \ | ||
&& xset s off \ | ||
&& xset s noblank \ | ||
&& xset -dpms | ||
} | ||
|
||
configure_touch() { | ||
local screen="$1" | ||
xinput set-prop "${screen}" --type=float 'Coordinate Transformation Matrix' $touchRotation | ||
} | ||
|
||
### CHANGE CONFIGURATION BELOW TO MATCH THE CONNECTED SCREEN ### | ||
|
||
# One of: normal, left, right | ||
configure_screen left | ||
# Find the screen name under "Virtual core pointer" of the following command: | ||
# xinput list | ||
configure_touch 'ILITEK ILITEK-TP' |
10 changes: 0 additions & 10 deletions
10
hardware/system/genmega/gemini/supervisor/conf.d/calibrate-screen.conf
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.