~w-shackleton/droidpad-android/stable

« back to all changes in this revision

Viewing changes to src/uk/digitalsquid/droidpad2/buttons/Slider.java

  • Committer: William Shackleton
  • Date: 2012-04-20 21:27:44 UTC
  • Revision ID: w.shackleton@gmail.com-20120420212744-q6fo6kx4c9uq5d1o
Fixed touch panel binary data sending

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
                case X:
165
165
                case Both:
166
166
                        return x;
167
 
                case Y:
168
 
                        return y;
169
167
                }
170
168
                return 0;
171
169
        }
173
171
        @Override
174
172
        int getData2() {
175
173
                switch(type) {
176
 
                case X:
177
174
                case Y:
178
 
                        return 0;
179
175
                case Both:
180
176
                        return y;
181
177
                }