History

added nook support to the picker

John Floren committed 15 years ago

Commit bd8cf651 parent 0c964e33 files · +5 −0Browse files

Unified · Split

3 files
  1. android/Reflash-Nook-Color.sh +1 −1
  2. android/bootpicker/picker +0 −0
  3. android/bootpicker/picker.c +5 −0
android/Reflash-Nook-Color.sh+1−1
@@ -26,7 +26,7 @@ cd .. · 25 unmodified lines
2626 rm repacked-ramdisk.gz
2727
2828 echo Pushing the boot chooser
29−adb push ./bootpicker/picker /data/picker
29+adb push ../bootpicker/picker /data/picker
3030
3131 echo Pushing inferno.sh to device
3232 adb push ../inferno.sh /system/bin/inferno.sh
android/bootpicker/picker+0−0

Binary file not shown.

android/bootpicker/picker.c+5−0
@@ -37,6 +37,11 @@ main(int argc, char *argv[]) · 36 unmodified lines
3737 xres = 480;
3838 yres = 800;
3939 depth = 4;
40+ } else if (!strncmp(device, "encore", 6)) {
41+ mousefile = "/dev/input/event2";
42+ xres = 1024;
43+ yres = 600;
44+ depth = 4;
4045 } else {
4146 printf("what device are you using? I'm outta here\n");
4247 exit(1);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t