summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/display/define_touch_key.m
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-11-13 19:55:57 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-11-13 19:55:57 +0100
commit4994443c6292e1edb428c5f0dbd3d2f0b9d0e519 (patch)
tree17b6ac52ddba333d4c05e5e20a7b6002cd9d5da4 /Kod/bilbana/yc4/display/define_touch_key.m
parentf78a9877d7efe5c4b1bb6fa6b5ab9ddbb8a833ca (diff)
parent0d761ebf3811ae20d74bbce8f4988c3a7ab8349d (diff)
downloadtfyy51-4994443c6292e1edb428c5f0dbd3d2f0b9d0e519.tar.gz
Merge branch 'display-functions' into display-io
Diffstat (limited to 'Kod/bilbana/yc4/display/define_touch_key.m')
-rw-r--r--Kod/bilbana/yc4/display/define_touch_key.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kod/bilbana/yc4/display/define_touch_key.m b/Kod/bilbana/yc4/display/define_touch_key.m
index 14ee5ee..69ed130 100644
--- a/Kod/bilbana/yc4/display/define_touch_key.m
+++ b/Kod/bilbana/yc4/display/define_touch_key.m
@@ -1,7 +1,7 @@
function pkg = define_touch_key(x1, y1, x2, y2, down_code, up_code, just, text)
- arg_location = [get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)];
- arg_text = double(strjoin({just; text}, ''));
- arg_null = 0;
+arg_location = [get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)];
+arg_text = double(strjoin({just; text}, ''));
+arg_null = 0;
- pkg = get_package('AT', [arg_location, down_code, up_code, arg_text, arg_null]);
+pkg = get_package('AT', [arg_location, down_code, up_code, arg_text, arg_null]);
end