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
26rm repacked-ramdisk.gz26rm repacked-ramdisk.gz
27 27
28echo Pushing the boot chooser28echo Pushing the boot chooser
29adb push ./bootpicker/picker /data/picker29adb push ../bootpicker/picker /data/picker
30 30
31echo Pushing inferno.sh to device31echo Pushing inferno.sh to device
32adb push ../inferno.sh /system/bin/inferno.sh32adb 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
37 xres = 480;37 xres = 480;
38 yres = 800;38 yres = 800;
39 depth = 4;39 depth = 4;
40 } else if (!strncmp(device, "encore", 6)) {
41 mousefile = "/dev/input/event2";
42 xres = 1024;
43 yres = 600;
44 depth = 4;
40 } else {45 } else {
41 printf("what device are you using? I'm outta here\n");46 printf("what device are you using? I'm outta here\n");
42 exit(1);47 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